Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable all fields
Message
De
14/03/2002 05:57:44
Jonathan Hayton
Cbl Business Solutions Limited
Leeds, Royaume Uni
 
 
À
14/03/2002 05:10:36
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00632605
Message ID:
00632612
Vues:
14
Hi, there are several ways of doing this,if you have a base class for the display of field info use simply set the disabled color in the base class info, this will ensure that all fields displayed are the color requested. You could define your own method in each input class that calls and application object set disabled color method. The easiest method on a form by form basis is

ThisForm.SetAll("Enabled",.f.,"txtBoxClassName")
ThisForm.SetAll("Enabled",.f.,"chkClassName")
etc. etc.

Thisform.Setall("DisabledBackColor", RGB(255,100,0), "txtBoxClass")

Is this of any help ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform