Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color of disable - gray
Message
From
20/12/2000 21:30:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00455216
Message ID:
00455736
Views:
37
>If you set the disable forecolor/backcolor when you create the form, the colors will change automaticlly at run time when the enabled property is toggled.
>
>By the way, I went a long time doing the enable/disable the hard way. Check the setall command in help, you can change the enable (or other) properties of all the kindred objects at one time. Even if you want only 90% of the text boxes enabled, setall for 100% and then manual on the 10% is easier.

I'm talking about completely automatic, i.e. change the color at the class level, and let the user pick the color combinations - and not having the programmer setting the color when editing the form.

Regarding the spaghetti code we all have to write just in order to enable/disable controls... well, you may have found a short way. Maybe it is not only faster to code, but eventually faster at runtime, who knows.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform