Member variable XbpStatic():type Foundation
Determines the type of the XbpStatic object.
The instance variable :type defines the type of the XbpStatic object. The value assigned to this instance variable must be a constant defined in the XBP.CH file. Valid constants for :type start with the prefix XBPSTATIC_TYPE_ and are listed in the following table:
Constant | Description |
---|---|
XBPSTATIC_TYPE_TEXT | Displays text |
XBPSTATIC_TYPE_ICON | Displays icon |
XBPSTATIC_TYPE_SYSICON | Displays system icon |
XBPSTATIC_TYPE_BITMAP | Displays bitmap |
XBPSTATIC_TYPE_GROUPBOX | Displays box with title (caption) |
XBPSTATIC_TYPE_RAISEDBOX | Displays raised box in foreground color |
XBPSTATIC_TYPE_RECESSEDBOX | Displays recessed box in foreground color |
XBPSTATIC_TYPE_RAISEDLINE | Displays raised line |
XBPSTATIC_TYPE_RECESSEDLINE | Displays recessed line |
XBPSTATIC_TYPE_FGNDRECT | Displays rectangle filled with foreground color |
XBPSTATIC_TYPE_BGNDRECT | Displays rectangle filled with background color |
XBPSTATIC_TYPE_RAISEDRECT | Displays raised rectangle, not filled |
XBPSTATIC_TYPE_RECESSEDRECT | Displays recessed rectangle, not filled |
XBPSTATIC_TYPE_HALFTONERECT | Displays rectangle filled with background color of desktop window |
XBPSTATIC_TYPE_FGNDFRAME | Displays rectangle in foreground color, not filled |
XBPSTATIC_TYPE_BGNDFRAME | Displays rectangle in background color not filled |
XBPSTATIC_TYPE_HALFTONEFRAME | Displays rectangle in the background color of the desktop window, not filled |
The two constants *_RAISEDLINE and *_RECESSEDLINE define XbpStatic objects that draw a line that is 2 pixels wide. The line is drawn starting at the point specified as the lower left corner by the <aPos> parameter of :create(). The end point of the line is based on the parameter <aSize> that defines the dimensions for the upper right corner of the XbpStatic object when it is displayed.
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.