VISIBLE Property
PLBCMP GUI Only
The VISIBLE property specifies whether an object is visible or hidden. The property uses the following format:
VISIBLE={value}
Note the following:
VISIBLE may be used in CREATE, SETPROP, or GETPROP statements.
Changing an object's VISIBLE property from $OFF to $ON is the same as executing an ACTIVATE statement without an activation routine for the object. However, if the VISIBLE property is set $ON and the object is already visible, the object remains visible and no change occurs.
Changing an object's VISIBLE property to $OFF is the same as executing a DEACTIVATE statement for the object.
The VISIBLE property is ignored during the CREATE statement of a WINDOW object when the WINTYPE property is $MODAL. This is not allowed since the program execution remains at the ACTIVATE statement while the $MODAL dialog is processed. If the VISIBLE property were allowed, the program execution would remain at the CREATE statement causing a program to hang since no events could be registered.
The VISIBLE property for the MREGION object causes activation or deactivation of the mouse region as per the property value provided.
{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 object is ... |
|
0 |
$OFF |
invisible. (default) |
|
1 |
$ON |
visible. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |