-
1
- #1
BrendanChandler
Programmer
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
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