BUTTONENTERKEY Property
9.0E, PLBCMP GUI Only
The BUTTONENTERKEY property controls the generation of a Click Event for buttons when one has focus and the enter key is pressed. The property uses the following format:
BUTTONENTERKEY={value}
Note the following:
BUTTONENTERKEY may be used in CREATE, SETPROP, or GETPROP statements of a WINDOW object.
When disabled, a click event is only generated when the enter key is keyed for a BUTTON if the DEFAULT property has been set for one of the BUTTON objects currently on the current Window. Otherwise, the Enter key for a BUTTON object does not generate a Click event.
{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 |
Click event generation is ... |
|
0 |
$OFF |
disabled. (default) |
|
1 |
$ON |
enabled. |
This property is not available when using the PL/B Web Server.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |