Cancel property


Available for Button objects.

Read/Write at design time
Read only at run time

Specifies whether a Button object is the cancel button or not. It can be one of the following values:

TRUE    Button object is the cancel button.
FALSE  Button object is not the cancel button (default).

Only a Button object inside each window can be the cancel button.


REMARKS
: When a Button object is the cancel button, pressing the <Esc> key has the same effect than clicking on it.