SELCOLOR Property
9.0B, PLBCMP GUI Only
The SELCOLOR property defines the color for the current selection or insertion point. The property uses the following format:
SELCOLOR={value | color object}
Note the following:
SELCOLOR may be used in SETPROP or GETPROP statements for RICHEDITTEXT objects.
The {color object} must have been previously created.
The {value} may specify the color as a BGR value or a Windows system color index. The {value} is a four (4) byte integer and may be a Numeric Variable, an Expression, or a literal. When the high order byte contains a value of 0x0, the next three bytes (twenty-four bits) are interpreted as a BGR value. When the high order byte has a value of 0x80, the lower order byte is an index value into the Windows system colors. The Windows system colors are defined by the user using the control panel.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |