In a project I an working on I have two forms open at the same time. Bigform and Littleform. Littleform contains a button. In the click event of that button I wish to close both Bigform and Litttleform and use the following code:
Bigform.Release
Thisform.Release
Occasionally this code works and both objects close, but most of the time I get a message which states that Bigform cannot be found.
Can anyone offer insight into why this happens and how I should rewrite my code.
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