Information générale
Catégorie:
Programmation Orientée Object
>I have a form that launches another form from the Load of the first.
>Upon opening the form the first time, everything works nicely. However, if I close them both and try opening the first again... the second on is not recognized as an object.
>
>Stepping through it, I can actuall go into the load of the second form and see values for THISFORM.name and all other properties, but there is NO OBJECT !! It only bombs when the object is refered.
>
>If anyone has suggestions or would like a better explanation, then please email.
>
>Thanks
>Aubry Henkel
You may need to launch the 2nd form after the .Init event of the 1st has completed. I believe that forms don't quit exist until the .Init completes.
Steve
Précédent
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