SetCBFlags Method (COMBOBOX)
PLBCMP GUI Only, 10.3
The SetCBFlags method controls specialized behaviors for a COMBOBOX object. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A COMBOBOX object that is accessed.
return
Optional. A Numeric Variable that contains the last flags bit mask value before this method is executed.
flags
Required. A decimal number or Numeric Variable that is a bitmask value from 0x0000 to 0xFFFF.
mode
Required. A decimal number or Numeric Variable that specifies the type of operation performed by the method.
Flags Affected: EOS, OVER, ZERO
Note the following:
If the {mode} value is zero, the state flags defined by the {flags} value are cleared for the COMBOBOX object. If the {mode} value is non-zero, the state flags defined by the {flags} value are set to take affect for the COMBOBOX object.
Each bit it the {flags} bitmask value defines a specialized behavior for a COMBOBOX object as defined below:
|
Value |
Behavior |
|
0x1 |
Causes the list to be dropped/shown when a COMBOBOX gets focus. |
|
0x2 |
A CLICK/DEFAULT event is not generated on a selection change. |
If the value returned is zero, the ZERO Condition Flag is set.
The OVER and EOS Condition Flags are always cleared.
For improved performance in the Application Server environment, do not specify the optional return value unless needed.
See Also: Method Syntax, COMBOBOX Methods
![]() |