BUTTONSTATE Property
PLBCMP GUI Only, 10.5
The BUTTONSTATE property uses a combination of Bootstrap 5 'Contextual classes' and button state types to invoke a variety of appearances for a web button object. The property uses the following format:
BUTTONSTATE={value}
Note the following:
BUTTONSTATE may be used in CREATE, GETPROP, or SETPROP statements of a BUTTON web object.
The BUTTONSTATE property is only used when a BUTTON object has been created as a web object using the WebView mode.
{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 button state is ... |
|
0 |
$BTNSTATE_DEFAULT |
default. |
|
1 |
$BTNSTATE_OUTLINE |
outline. |
|
2 |
$BTNSTATE_SPIN |
spinner. |
|
3 |
$BTNSTATE_SPINGROW |
grow spinner. |
For more information about Bootstrap 5 buttons and spinners, see the following links:
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |