Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Do form - object formname not found
Versions des environnements
Hi Everyone:
I have a form (form1) with a list box. in the doubleclick event, i have "do form form2". you can make changes in form2. in the click event for form2's save button, i try to change some of the properties of some of the controls on form1.
within the project manager, this works fine. however, in the executable, i get "object form1 not found", which is error 1923.
i did some searching and found that once the code is executed in one form to open another form, the form object is released from memory. it states to use activeform, forms, and formcount properties to access the form. However, i've looked these up and don't understand how to "reactivate" form1 as an object without having to release the form and then do "do form1".
Any suggestions? Thanks,
Paul
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