*EDITFOCUSBGCOLOR (SETMODE)
PLBCMP GUI Only
*EDITFOCUSBGCOLOR={value}
The *EDITFOCUSBGCOLOR list control sets the default focus background color when anobject is created. If a COMBOBOX, EDITTEXT, EDITNUMBER or RICHEDITTEXT object is created with the EDITFOCUSBGCOLOR enabled, the object's background color is set to the value specified when the object gains focus. When the object loses focus, the background is set to the normal background color.
Note the following:
The {dnumnvar} is a four-byte integer.
The {dnumnvar} value may specify the color as a BGR value or a Windows system color index.
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.
When the {dnumnvar} value evaluates to '0xFFFFFFFF', the keyword is disabled and any objects created do not used a focus background color.
Example:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See Also: List Controls (SETMODE), SETMODE
![]() |