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:

  1. USEALTKEY may be used in CREATE, SETPROP, or GETPROP statements of a STATTEXT or LABELTEXT object.

  2. 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.

  3. 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.

  4. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  5.  

    Value

    Keyword

    Alt Keyboard Sequences are ....

    0

    $OFF

    disabled.

    1

    $ON

    enabled.(default)

     

  6. When using the PLB Web Server, this property is not available.

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference URLSOURCE Property USECOLORMASK Property