Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the color of a shape to match the forms border
Message
From
13/09/2000 14:25:00
 
 
To
12/09/2000 13:46:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00415472
Message ID:
00415977
Views:
12
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform