Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to generically set readonly to .T.?
Message
De
24/08/1999 14:42:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00257234
Message ID:
00257243
Vues:
18
I would use SetAll().
FUNCTION SetAllReadOnly
   SetAll("ReadOnly", ".T.", "TextBox")
   SetAll("ReadOnly", ".T.", "EditBox")
   SetAll("ReadOnly", ".T.", "ComboBox")
   ...
HTH

>I have a form class that is used by several forms. There are multiple databounded fields in each form. I would like to set the fields as readonly or not with one single generic method.
>What would be the best approach?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform