Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : CANCEL-BUTTON attribute
 

CANCEL-BUTTON attribute

A button widget in the frame or dialog box to receive the CHOOSE event when a user cancels the current frame or dialog box by pressing the ESC key.
Data type: HANDLE
Access: Readable/Writeable
Applies to: DIALOG-BOX widget, FRAME widget
Any other action normally associated with the ESC key is not performed. The ESC key is any key associated with the ESC key label.
The CANCEL-BUTTON attribute for frames is not supported in character mode.
If the user presses ESCAPE in a frame that has no such cancel button and the frame is part of a frame family, the AVM applies the CHOOSE event to the first cancel button it finds within the frame family in random order.