Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label with Windows background
Message
De
28/07/2004 17:04:05
 
 
À
28/07/2004 15:20:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00928846
Message ID:
00928915
Vues:
27
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
Fil
Voir

Click here to load this message in the networking platform