Changes between Version 8 and Version 9 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/ExitWithCode
- Timestamp:
- 10/02/20 07:43:33 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/ExitWithCode
v8 v9 15 15 == Remarks == 16 16 17 ExitWithCode cannot exit the form immediately but sets an internal flag value to cause the Form to exit upon the next iteration of the form run loop. If a form done event is specified it will be called with flag FORM_DONE_EVENT_EXTERNAL to allow the form done event to know that the form was ended by code rather than a user action upon the form. The form done event may call !GetExitCode to determine what the return code will be.17 ExitWithCode cannot exit the form immediately but sets an internal flag value to cause the Form to exit upon the next iteration of the form run loop. If a form done event is specified it will be called just before the form exit with flag FORM_DONE_EVENT_EXTERNAL. This is to allow the form done event to know that the form was ended by code rather than a user action upon the form. The form done event may call !GetExitCode to determine what the return code will be. If the form done event returns non-zero the form exit will be cancelled. 18 18 19 19 == Example ==