Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to access object on form from a menu
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00040403
Message ID:
00040420
Vues:
27
Hi Jeff! I've traced some days ago how works an app object. When you open form then an app object refresh his form collection and add new member to form's array. When you close form then app objects refresh form's collection and renumber all members. That's why you can't got an reference by your way.... Have a happy day Vladimir Shevchenko > IF goApp.MainMenuVisible = .T. > goApp.aForms(1).chkPrintPreview.Value = 0 > ENDIF > > But if the form is closed and then later reopened, I get an error: Unknown > Member aForms.
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform