>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