>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.