CANCEL Property


PLBCMP GUI Only

 

The CANCEL property specifies that the BUTTON gains control when the escape key is pressed. The property uses the following format:

 

CANCEL[={value}]

Note the following:

  1. CANCEL may be used in CREATE, SETPROP, or GETPROP statements of a BUTTON object.

  2. This property does not override any DIALOG operations.

  3. If the CANCEL property is specified without an assignment, the action is the same as if CANCEL=1 were given.

  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

    Escape key trapping is ...

    0

    $OFF

    disabled. (default)

    1

    $ON

    enabled.

  1. When a CANCEL key action generates the click event for a BUTTON object, the 'eventMod' value of 0x200 indicates that a CANCEL key action generated the click event.

 

 

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

 



PL/B Language Reference CALFGCOLOR Property CAPTION Property