Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controls change color in top level form
Message
 
À
10/06/1999 14:24:00
Michael Dreyer
Intelligent Computer Solutions
Naperville, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00228464
Message ID:
00228520
Vues:
13
>Never mind. Answered my own question. Funny though that the back color of the shape seems to affect controls outside of that shape.

Yes, it seems odd, but what actually goes on "behind the scene" is not necessarily what we visually witness in GUI. Really, GUI is all tricks with virtual reality to achieve a perception of reality...

Enough philosophy -- additionally, what I recommend when making this fix is to automate the shape/container backcolor to pick up the text backcolor in code. Otherwise, you may have a user with yellow editable text background, and if your shape/container backcolor is hard-coded to white, you will still have the problem. So you can do something like set shape.backcolor = textbox.backcolor in the form Init() to avoid that problem...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform