*EDITFOCUSBGCOLOR (GETMODE)


PLBCMP GUI Only

*EDITFOCUSBGCOLOR={value}

 

The *EDITFOCUSBGCOLOR control reports the default COMBOBOX, EDITTEXT, EDITNUMBER, or RICHEDITTEXT focus background color. The mode defines the object's background color when it have focus.

Note the following:

  1. The {value} is a decimal number or numeric variable that specifies the color as a BGR value or a Windows system color index.

  2. The {dnumnvar} is a four-byte integer.

  3. When the high order byte contains a value of 0x0, the next three bytes (twenty-four bits) are interpreted as a BGR value.

  4. When the high order byte has a value of 0x80, the lower order byte is an index value into the Windows system colors.

  5. When the {dnumnvar} value evaluates to be '0xFFFFFFFF', the EDITFOCUSBGCOLOR keyword is disabled and any objects created while EDITFOCUSBGCOLOR is disabled and do not used a focus background color.

 

 

See Also: List Controls (GETMODE), GETMODE

 



PL/B Language Reference *EDITDATETIMEUTC (GETMODE) *EDITHILITE (GETMODE)