Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable all fields
Message
From
14/03/2002 05:57:44
Jonathan Hayton
Cbl Business Solutions Limited
Leeds, United Kingdom
 
 
To
14/03/2002 05:10:36
Ashish Patel
Hindustan Petroleum
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00632605
Message ID:
00632612
Views:
13
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 ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform