Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the color of a shape to match the forms border
Message
De
13/09/2000 14:25:00
 
 
À
12/09/2000 13:46:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00415472
Message ID:
00415977
Vues:
11
>I have a shape on my form that I always want to be the same color as the border at the top of my form. ie whatever the user has set the color of their windows to be from control panel.
>
>How do I find out what color is being used for the window border so I can set the color property for the shape?
>
>Thanks

Do you mean the title bar color? In that case it's the second set of 3 numbers in RGBSCHEME(15,4). e.g.

EVAL("RGB(" + SUBSTR(RGBSCHEME(15,4), AT(",", RGBSCHEME(15,4),3)+1))
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform