How to change the color of a page in a pageframe?  
Author Message
DavidLUK





PostPosted: Tue Jul 13 01:38:32 CDT 2004 Top

Exchange Servers >> How to change the color of a page in a pageframe?

It seems the BackColor property of of the Page object does not work.
Whatever value I write there nothing changes.

Anyone has an idea how to change the background color of a page.

Ok, I could make a picture with the desired color and add it in the Picture
property.
But is there no other way?

Thanks
Wolfgang

Exchange Server2  
 
 
Fred





PostPosted: Tue Jul 13 01:38:32 CDT 2004 Top

Exchange Servers >> How to change the color of a page in a pageframe? You'll need to turn off themes for either all of VFP, the form, or the
pageframe itself. If themes are enabled, then you're leaving the control of
colors, etc., under Windows control, not yours.

_SCREEN.Themes=.F.
yourform.Themes=.F.
yourform.PageFrame.Themes=.F.

depending on what level of control you want to have over the themes
yourself.

Fred
Microsoft Visual FoxPro MVP




> It seems the BackColor property of of the Page object does not work.
> Whatever value I write there nothing changes.
>
> Anyone has an idea how to change the background color of a page.
>
> Ok, I could make a picture with the desired color and add it in the
Picture
> property.
> But is there no other way?
>
> Thanks
> Wolfgang
>
>


 
 
Wolfgang





PostPosted: Tue Jul 13 03:10:48 CDT 2004 Top

Exchange Servers >> How to change the color of a page in a pageframe? Hi Fred
many thanks, I must have overlooked the "Themes" property.
Wolfgang