Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color of disable - gray
Message
De
20/12/2000 21:30:05
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00455216
Message ID:
00455736
Vues:
38
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform