>Help
>
>I am converting a foxpro 2.x program to vfp9. I would like to use the full screen (no mater what the resolution or monitor is) to define two windows (top/bottom). My first approach was to do this
>
>_screen.WindowState = 2
>gnFullH = _screen.Height
>gnFullW = _screen.Width
>
>Bases on the numbers in gnFullx and some major division, I would Define Window top (top 2/3 of the _screen) and Define Window Bottom (bottom 1/3 of the _screen)…
>
>What I found out is that the numbers in gnFullx is not a good number to use when using a define window command!
>
>My question
>Can this be down using the Define Window Command or what the Best solution? Please note that all the old code browses/input/message screens all use the Define Window Command.
The Create Window command uses foxels - i.e. the size of the window in the end depends on the fontmetric of _screen.font* properties.
The simpler workaround is to create two forms in the sizes you want, show them and use them as windows. Show/activate/AnyOtherWindowCommand Window (topform.name) would do.