CHECKED Property
9.0, PLBCMP GUI Only
The CHECKED property provides access to the value of the checkbox displayed with an object. The property uses the following format:
CHECKED={value}
Note the following:
The CHECKED property may be used in GETPROP, SETPROP, or CREATE statements of an EDITDATETIME object and the GETPROP or SETPROP statements for a MENUITEM.
A checkbox is displayed with an EDITDATETIME object when the SHOWCHECKBOX property is set to $ON.
If the object is an EDITDATETIME, this property only has meaning when the SHOWCHECKBOX property is $ON.
If the object is a MENUITEM, this property sets or clears a check mark beside the menu item.
{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 |
The checkbox is ... |
|
0 |
$OFF |
not checked (default). |
|
1 |
$ON |
checked. |
When using the PL/B Web Server, this property is not supported.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |