Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Theme Colour Support In VFP9 1

Status
Not open for further replies.

BrendanChandler

Programmer
Sep 12, 2000
28
GB
I have just upgraded my app from VFP6 to VFP9 and been thrown a little by themes. I had themes set to .t. by default and could not understand why I could not change the back colour of the pages on my pageframe until I realised it was the themes property that was preventing this. Then I grew to like the idea of the new look pageframe colours and tabs and so decided to implement themes. Unfortunately, however, themes does not seem to work consistently on forms that do not contain pageframes. On those, the back colour is controlable rather than being picked up automatically from the operating system.

Is this behaviour correct or have I missed something here? If it is correct, how do I get the theme backcolor value from the OS to pass to my form so that my form has the same colour? I noticed containers had the same problem but quickly realised that if I made them transparant the pageframe colour below would come through which was fine but its still a problem on forms without pageframes.

I assume that I should be still setting background colours for forms and pageframes for users whose operating systems do not support themes?

Thanks for any advice
 
Make sure all the color settings for the forms are set to the default values.

Craig Berntson
MCSD, Visual FoxPro MVP, Author, CrysDev: A Developer's Guide to Integrating Crystal Reports"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top