Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label control has dark gray background
Message
 
 
À
24/11/2019 20:22:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01671981
Message ID:
01672040
Vues:
42
>>>>>>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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform