You can use the Windows API to get the systems colors. The function is GetSysColor... and it accepts one parameter that identifies which system color setting you want. Check the MSDN Library for more information on it.
You can use SYSMETRIC() to return the screen size. Pass a parameter of 1 for the width and a parameter of 2 for the height.
HTH
>All,
>
>Do you know any simple function can check the display settings(colors and screen area)in VFP?
>
>
>
>Ricky
Doug Stalter
"According to the proverb, the best things are the most difficult." -Plutarch