>Hi all,
>
>I have a main form with size the same as current window setting. And it would call another form to display IN TOP LEVEL, which I want it to have size=1024x768. But dunno why, the ViewPortHeight of this always is fixed at 749 and can't be modified. Makes my form never can cover the whole screen. How could I fix it? I want it to have exactly 1024x768.
>
>Thank you for any help in advance!!
Jimi,
ViewPort is the area that form occupies in visible area. You must provide it space :) As I understand your screen resolution is set at 1024*768. In that case in order to make viewportheight 768 you should get rid of things like titlebar, sysmenu, main window title (or say Top Level). IOW you need something like a splash that is maximized.
However IMHO don't force those 19 pixels if you don't have a good reason and remember you could use scrollbas too.
Cetin