Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't control executable screen size
Message
 
To
29/04/2002 14:02:10
Thomas Ianuzzi
Information Security Consultants, Inc.
Florida, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00650515
Message ID:
00650523
Views:
16
Hello Thomas


if your form has no toolbar, menubar or titlebar

in the init of your form just say
_screen.lockscreen = .T.
_screen.height = thisform.height + 1
_screen.width = thisform.width + 1
thisform.autocenter
_screen.autocenter
_screen.lockscreen = .F.
you might have to play with the number "1" to get it to look correctly

>I have an application which has its form size set to 960 X 720 and to maximize on opening. It works fine in the development environment. In the executable, the form opens in a window about 600 x 800. The window must then be dragged to full size using the mouse.
>
>1) does anyone know why this is happening?
>
>2) can I set the form to fill the screen in the executable, regardless of the user's screen settings?
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform