Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding Controls
Message
De
13/11/1996 13:02:30
 
 
À
13/11/1996 12:00:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00012155
Message ID:
00012157
Vues:
36
>I have saved all of the controls on a page of a PageFrame as a class which I instantiate via the page's Activate method. All works well, except: how do I access these controls to, for example, enable/disable them? THISFORM.PageFrame1.Page3.txtName no longer works (no surprise--the controls are now part of a class). What is the correct syntax to get to these things? As of now, I am out of control(s) . . . .
>
>TIA

When you add container object based on custom class you can specify the name of this object and then use this name for references:
THISFORM.PageFrame1.Page3.YourObject.txtName
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform