Version 1 (modified by 7 years ago) ( diff ) | ,
---|
FORM_DONE_ESCAPE
FORM_DONE_ESCAPE is a defined value to for a form done event to indicate the form was exited by means of the ESCAPE key
Example
EVENT(InputDone) { if (nData == FORM_DONE_ESCAPE || nData == FORM_DONE_LEFT_ARROW) { if (pForm->IsChanged() == true) { if (WaitPrompt(LANG(STR_SAVE_CHANGES), LANG(STR_YES), LANG(STR_NO)) == true) { pForm->WriteData(); } } } return 1; }
See Also
- [FORM_DONE_LEFT_ARROW FORM_DONE_LEFT_ARROW]
Note:
See TracWiki
for help on using the wiki.