Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Object CHICKS is not found.
i have a project with two forms and a toolbar.
lets call the first form "BIGDADDY", the second one "CHICKS".
each of the form has an Activate method that goes like this:
* cCurwind is a public variable
cCurWind = This.Name
the toolbar has 3 buttons: with captions BIGDADDY, CHICKS, CLOSE.
clicking BIGDADDY button opens the BIGDADDY form.
clicking CHICKS button opens the CHICKS form.
clicking CLOSE button closes whichever is the active form (BIGDADDY/CHICKS)
the close button click event has this code:
myMacro = cCurwind + ".Release()"
&myMacro
i have added a button on BIGDADDY (lets call the button cmdChicks) with a caption "chicks". the button is used to open the CHICKS form from the BIGDADDY form:
* the code on BIGDADDY.CLICK()
DO FORM CHICKS
---------
the problem:
i clicked on the cmdChicks and the CHICKS form shows up.
when i click the CLOSE button, the message "object CHICKS is not found." shows up.
what's supposed to be the problem with this?
-tia
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