= FORM_DONE_EVENT_EXTERNAL = FORM_DONE_EVENT_EXTERNAL is a defined value for the nData variable in a form done event to indicate the form was exited by means of the application code calling CForm::ExitWithCode. == Example == {{{ EVENT(InputDone) { if(nData == FORM_DONE_EVENT_EXTERNAL) { DEBUG_MSG("Form exit cause by ExitWithCode code = %d\n", pForm->GetExitCode()); } return 1; } }}} === See Also === * [wiki:ExitWithCode ExitWithCode] * [wiki:FORM_DONE_LEFT_ARROW FORM_DONE_LEFT_ARROW] * [wiki:IN_EVENT_WRITE_DATA IN_EVENT_WRITE_DATA]