AamCancelMode Method (BUTTON)


PLBCMP GUI Only, 9.6

 

The AamCancelMethod method sets the state for a BUTTON object to allow a click action to cancel an AFILE read that is active. This method uses the following format:

 

[label]

{object}.AamCancelMode

[GIVING {return}] USING [*Value=]{value}

 

Where:

label

Optional. A Program Execution Label.

object

Required. A Button that has been created.

return

Optional. A Numeric Variable that is always zero.

value

Required. A Numeric Variable or decimal value that specifies the new state of the BUTTON.

Flags Affected: OVER, ZERO

Note the following:

  1. The ZERO (EQUAL) Condition Flag is always set

  2. The OVER Condition Flag is always cleared.

  3. If the {value} is a zero, the BUTTON is reset to not cancel an AFILE read. If the {value} is non-zero, the BUTTON is set to cancel an AFILE read on a click action.

  4. This method has been replaced by the IOCancelMode Method and is now obsolete.

 

 

See Also: Button Methods, Method Syntax



PL/B Language Reference BUTTON Methods GetFileCount (BUTTON)