EXIT_FORM: want to close only current form, not all open forms
438673May 31 2005 — edited Jun 3 2005I have found a few postings here that seem to relate to this problem, but the cryptic replies don't really answer the question: they fall in the category of "helpful not this was."
I have a set of forms comprising an application. Some of these forms use OPEN_FORM to invoke other forms. Each form in the app has a when-new-form-instance trigger that calls a common procedure in an attached library; we'll call this procedure "startup_steps." The startup_steps procedure should check some conditions which may indicate that the selected form should not be invoked at this time, and if not I would like to issue an alert message and then exit just that form (leaving other open forms alone), but the call to exit_form exits the entire application and not just the current form. Is the form "too new" to exit in this case? Should the restrictive conditions be checked in another place, such as a when-new-block-instance trigger on the first navigable block?