Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I use Windows 2000, but I guess it should be the same. I frequently change Windows colors to test that my applications conform to the standards. In Windows 2000, if you let the label.BackColor to default it changes with system changes; so first be sure label.backColor is not in bold.
If it does not work you can create a class and in the Init() method just put:
this.backColor = this.parent.backColor
Or use the API function getSysColor().
>I have a setup form which includes two sections. The first one is about the status bar options and the other about the regional information. So, I have those two sections surrounded by a rectangle. Then, on the upper left of each rectange, I have the title. This is having a bold black text. In order to have the text to be visible, I have put it Opaque. So, the text appears on top of the rectangle. But, the text need to have a background color. I am basically trying to have the same background color as the Windows settings of the user. Since I have moved to Windows XP, I see that the background color is different than the pageframe color which those objects sit on. How can I synchronize both?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement