Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label control has dark gray background
Message
 
 
À
25/11/2019 08:10:45
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01671981
Message ID:
01672049
Vues:
53
>>>>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 :)
>
>And gray blind, too. White is 255,255,255. Anything else is fake white, at best. 100,100,100 is gray (if we're talking rgb, as it seems we are). The 240,240,240 is perhaps the color of ceramic tiles which they sell as "arctic white" or just "white", but, hey, they can call it whatever they want, it's still gray.

The oddest thing was when last night I connected to two different customers's VM servers (via RDP). The same application looks different on either. In one case the PageFrame is white (as is on my computer) and in another case the PageFrame is gray - exactly as the gray of the form. I decided to not to be concerned about this "issue" any more.
"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