Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit and no edit of fields
Message
De
23/06/1998 11:36:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00110932
Message ID:
00110959
Vues:
27
Don,

>To add on this process, In the form Refresh method you can make use of the SETALL() method.
>
>Thisform.Setall( "Enabled", Thisform.Editing, "TextBox" )
>
>Rather than applying to each control...

Yeah, I know .... this is one of the things I meant when I said there were cleaner ways. I was trying to highlight how each control *can* control it's own state.

Also, there's a methodology issue. As a general rule (broken often - hehe) I try to code my frameworks where each control or container sets it's own state depending on the environment. I try to avoid SetAlls and the like except where common-sense efficiencies make there use overwhelmingly beneficial.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform