application resolution

hi!

any body know how do i open my application as full screen of in any resolution

thanks

[113 byte] By [NILKAMAL] at [2008-1-4]
# 1

In your main.prg

Code Snippet

_screen.WindowState = 2

Zografski at 2007-9-25 > top of Msdn Tech,Visual FoxPro,Visual FoxPro General...
# 2

Your users (or you) can bring this about by setting the shortcut used to start your application to start maximized.

You can FORCE your application to full-screen by setting _Screen.WindowState=2.

If you're really asking about getting forms to conform to resolution, you'll need to tell us what version of VFP you're using.

Dan

DanFreeman at 2007-9-25 > top of Msdn Tech,Visual FoxPro,Visual FoxPro General...