Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Form Controls as a Collection
Message
De
03/04/2006 17:38:15
 
 
À
03/04/2006 15:33:00
Joel Whitehead
Ccs Central Computer Services Inc.
Thunder Bay, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Divers
Thread ID:
01110059
Message ID:
01110095
Vues:
11
>We are doing some work on an old application written in Visual FoxPro 6. A question from one of my co-workers has me stumped. He is wondering if there is a command to cycle through all the controls on a page of a pageframe, rather than individually addressing each control. He comes from an ASP background and is used to writing code to address "collections" of controls.
>
>For example, cycle through all the controls on a page, and for any text boxes, set the font to bold, or some such thing. I told him that we would normally create a text box class and have all the text boxes inherit from that. However, it did make me wonder if there is a way to accomplish this similar to how he has described to me.
>
>Any ideas?
>
>Joel

thisform.SetAll()
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform