USEALTKEY Property
PLBCMP GUI Only
The USEALTKEY property controls whether the Windows Alt+Key combination selects a STATTEXT or LABELTEXT object. This property is referred to as "UseMnemonic" in the PL/B Form Designer. The property uses the following format:
USEALTKEY={value}
Note the following:
USEALTKEY may be used in CREATE, SETPROP, or GETPROP statements of a STATTEXT or LABELTEXT object.
If the USEALTKEY property is enabled, an ampersand (&) character in the name of the object allows an Alt Keyboard Sequence to generate a Click Event for the object.
If the USEALTKEY property is disabled, any ampersand character in the name of the object is output as part of the name and the Alt Keyboard Sequence does not generate any events for the object.
{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 |
Alt Keyboard Sequences are .... |
|
0 |
$OFF |
disabled. |
|
1 |
$ON |
enabled.(default) |
When using the PLB Web Server, this property is not available.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |