Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label control has dark gray background
Message
From
24/11/2019 20:28:32
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01671981
Message ID:
01672041
Views:
46
>>>>>>>Hi,
>>>>>>>
>>>>>>>If you look at the attached image, you may notice that the label controls have a darker shade gray background.
>>>>>>>What cause this? If not for this dark background, the label would look on the form "cleaner"
>>>>>>>TIA
>>>>>>
>>>>>>Something I don't understand. Default form backcolor is 240,240,240. Default backcolor of a label is the same, 240,240,240. Why then if I leave the backstyle of label class as 1, the label background has a darker shade of gray?
>>>>>
>>>>>I realize now why I was having the issue with the backstyle (wasted the time). My controls (labels and others) are on the container and the containers are on the PageFrame. The containers are transparent. And the default backcolor of a PageFrame is white (100, 100, 100). This is why I saw the dark gray background behind the labels.
>>>>>And I don't want to change the PageFrame backcolor, so I will leave it all alone.
>>>>>
>>>>>Update. The backcolor of pages of the PageFrame is also 240, 240, 240. But it looks very white. Confused again :)
>>>>
>>>>What happens if you set the STYLE of the label to 3 (Themed) ?
>>>
>>>I have never yet used the Themed option on any of the controls. I have to investigate how it would affect the look and feel of the application. Thank you for bringing it up.
>>
>>There is also the Style value 4 for labels -- Themed (Background only)
>
>Thank you. I will check this option also.

You may however find it annoying that the Style values 3 and 4 aren't available for Checkboxes and Option button
Previous
Reply
Map
View

Click here to load this message in the networking platform