Function GraEdge() Foundation
Draws parts of a rectangle.
GraEdge( <oPS>, [<aStart>], [<aEnd>], [<nStyle>], [<nElems>] ) --> lSuccess
Constant | Description |
---|---|
GRA_EDGESTYLE_SIMPLE | Simple edge, no 3D effect |
GRA_EDGESTYLE_SUNKEN | Edge appears to be sunk into the drawing surface |
GRA_EDGESTYLE_RAISED *) | Edge appears to be raised above the drawing surface |
|
Constant | Description |
---|---|
GRA_EDGEELEMS_LEFT | Left edge |
GRA_EDGEELEMS_TOP | Top edge |
GRA_EDGEELEMS_RIGHT | Right edge |
GRA_EDGEELEMS_BOTTOM | Bottom edge |
GRA_EDGEELEMS_RECT *) | Edges form a rectangle |
GRA_EDGEELEMS_FILLEDRECT | Edges form a filled rectangle |
GRA_EDGEELEMS_FLATRECT | Edges form a filled rectangle (no 3D effect) |
|
The return value of GraEdge() is .T. (true) if the operation completes successfully. Otherwise, it is .F. (false).
The function GraEdge() is a graphic primitive which draws parts of a rectangle in a presentation space. GraEdge() is intended primarily for framing objects within the application's user interface. The function neither uses nor updates the current cursor position.
If a visual style is assigned to the Xbase Part associated with the Micro PS, GraEdge() uses the edge definition within the visual style. If no visual style is active or visual styles are disabled for the application, GraEdge() uses compatible imagery.
Visual styles have been introduced with Windows XP and are not available on older platforms.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.