Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding Controls
Message
De
14/11/1996 08:24:00
 
 
À
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:
00012224
Vues:
37
>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
Before you have
ThisForm.PageFrame1.Page3.txtName
Now you save controls of page 3 to class ans VFP put them in a container that we name Pg3 for this example

you have now
ThisForm.PageFrame1.Page3.Pg3.txtName
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform