Changes between Version 1 and Version 2 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/ExitWithCode
- Timestamp:
 - 09/29/20 11:39:37 (5 years ago)
 
Legend:
- Unmodified
 - Added
 - Removed
 - Modified
 
- 
      
Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/ExitWithCode
v1 v2 1 ExitWithCode 1 = !ExitWithCode = 2 3 {{{ 4 void CForm::ExitWithCode(int nCode) 5 }}} 6 7 == Parameters == 8 9 * nCode = return value FORM_RUN will return 10 11 == Return Value == 12 13 No return value 14 15 == Remarks == 16 17 ExitWithCode cannot exit the form immediately but sets an internal flag value to cause the Form to exit upon its next iteration. 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 use action upon the form. The form done event may call GetExitCode to determine what the return code will be. 18 19 == Example == 20  
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)