Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximizing a window
Message
From
07/08/2007 09:08:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01246454
Message ID:
01246464
Views:
19
>Hi,
>
>I'm trying to set up a desktop window using all available screen size starting from just below the app toolbar:
>
>DEFINE WINDOW _preview FROM 0, 0 TO _SCREEN.height, _SCREEN.width IN DESKTOP CLOSE GROW SYSTEM FLOAT
>
>Can anyone tell me how to best calculate the FROM and TO parameters?
>
>Thanks,
>Vidar

You can use Sysmetrics(). However, you can define the window, and in the next line you ZOOM WINDOW _preview MAX
Previous
Reply
Map
View

Click here to load this message in the networking platform