STATIC Property
PLBCMP GUI Only
The STATIC property specifies that the data in the EDITTEXT field is display only. The property uses the following format:
STATIC[={value}]
Note the following:
STATIC may be used in CREATE, SETPROP, or GETPROP statements of EDITTEXT or EDITNUMBER objects.
An EDITTEXT object with this property enabled may not receive focus and does not allow cut or copy operations performed. The TABID value is not changed by this property.
If the STATIC property is specified without an assignment, the action is the same as if STATIC=1 were given.
{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 EDITTEXT is ... |
|
0 |
$OFF |
not display only. (default) |
|
1 |
$ON |
display only. |
When using the PL/B Web Server, the PWS EDITNUMBER with the STATIC property turned on does not allow this object to obtain the focus by a user tabbing action. Otherwise, the behaviors of the PWS EDITNUMBER with the STATIC property turned on are the same as the READONLY property behaviors including that the property cannot be turned on or off using the SETPROP instruction.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |