Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hello,
Is there a way to destroy a form in the Init event method of the form? If not, how can I destroy a form before it shows up on the user's screen and continue on with the rest of my program?
PROBLEM SPECIFICS
---------------------
The form I am trying to destroy is a setup form. I validate setup information there and if need be run through the setup process again. If I don't need anything then I just try to kill the form and proceed with the other forms in the program.
The setup validation occurs in the Init event method. Right now it does a CLEAR EVENTS, THISFORM.Release() and RETURN .F. but the program still resides in memory and never gets past the READ EVENTS line called right after my DO FORM setup line.
Any help is appreciated.
Thanks,
Matthew
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