Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label with Windows background
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00928846
Message ID:
00928936
Views:
43
>Two things:
>1. Could there be any code that might be changing the backcolor value of the label? To verify, you could add a test code in the Click event of the label and use message box to display the value of the label BackColor as well as the PageFrame. That would tell you whether they are identical or not? If not, clearly something (code) is changing it.
>Test code in the click event of the label:
>
>messagebox("Label back color: " + transform(this.backcolor) + chr(13) ;
>          ("Page Frame back color: " + transform(this.opageframe.backcolor))
>
>
>2. There is something called "double take" when we veiw colors in different backgrounds. Two identical colors would appear defferently to human eyes when viewed against two different backgrounds.

I found the problem. It's because I have Themes=.T. at the pageframe level. So, that changes the view of the backcolor of the pageframe control but its backcolor value doesn't change. Do you know what to do with that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform