Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Can I abort a form from the Init method?
Versions des environnements
Network:
Windows 2003 Server
I have a form that is called from other forms. It is called to perform a task that may not be possible with the given incoming parameter.
In the Init method of the form, I want to check to see if the task is possible, and, if it is not, present a message to that effect, and abort the form.
However, I can't find a way to abort the form. Instead it opens, and the user must click my Cancel button to close it.
How can I prevent a form from running from the Init method?
Thanks in advance for your help.
Jim
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement