Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control Arrays -- how to make 'em
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00096935
Message ID:
00097205
Vues:
25
>How does one go about constructing control arrays in the Form Builder? I've
>only been able to "roll my own" by building up the arrays at runtime.

In VFP, there usually isn't any need to do this. If you want to affect all TextBoxes on a form, you can do ThisForm.SetAll('ReadOnly', .T., 'textbox') (or 'txtMySubClass', if you've been subclassing everything. If you want to affect only a few (say, an address box you want to pop in and out), you can put the controls in a Container control and do ThisForm.cntAddress.SetAll('Visible', .T.).

That give you some ideas, or am I missing your point?
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform