Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing colors in pages of page frames
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00111509
Message ID:
00111543
Vues:
10
>Is there any way VFP 5.0 will allow me to change a pages color when it is activated/deactivated?
>Thanks for any help.
>
>John Ingalls

John, you may use the UIEnable event of any control on the page to do that.

***UIEnable()
LPARAMETERS lEnable
This.Parent.BackColor = IIF(lEnable,myColor,myOtherColor)

You can take a look at my Page Tab Chameleon class in UT Files section, which being dropped on the page automatically changes the appearance of page caption when it is Activated/Deactivated. You can change it to work with Page.BackColor

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform