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:

  1. BUTTONENTERKEY may be used in CREATE, SETPROP, or GETPROP statements of a WINDOW object.

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

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

  4.  

    Value

    Keyword

    Click event generation is ...

    0

    $OFF

    disabled. (default)

    1

    $ON

    enabled.

     

  5. This property is not available when using the PL/B Web Server.

 

 

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

 



PL/B Language Reference BULLETINDENT Property BUTTONS Property