CHECKBOX Property
PLBCMP GUI Only
The CHECKBOX property allows an object to create checkboxes as items. The property uses the following format:
CHECKBOX={value}
Note the following:
The CHECKBOX property may be used in GETPROP, SETPROP, or CREATE statements of a DATATABLE or LISTVIEW and the GETPROP and CREATE statements of a TREEVIEW object.
This property requires version of 4.70 or later of the Microsoft comctl32.dll.
This property will only affect the operation of the LISTVIEW object when the VIEWSTYLE property is set to the $VIEWREPORT or when a DATATABLE is bound to a HTMLCONTROL with the style set to LISTVIEW mode.
When this property is enabled, the object creates and sets a state image list with two images. State image one is the unchecked box and state image two is the checked box. Setting the state image to zero removes the check box altogether. The GetItemCheck, SetItemCheck, and FindItemCheck methods can be used when this property is enabled.
{value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
Checkbox generation is ... |
|
0 |
$OFF |
disabled (default). |
|
1 |
$ON |
enabled. |
If the IMAGELISTST property is not set, a default Windows checkbox imagelist is used when this property is enabled.
If the IMAGELISTST property is set, this property uses the imagelist value when the property is enabled.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |