Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## 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: WIDGET-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.

> Note: If the user presses ESCAPE in a frame that has no such cancel button and the frame is part of a frame family, Progress applies the CHOOSE event to the first cancel button it finds within the frame family in random order.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095