Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form resolution
Message
From
22/02/2000 14:56:04
 
 
To
22/02/2000 14:02:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00335513
Message ID:
00335556
Views:
17
>Hello all,
>I developed some forms at my workstation which is 1024x768 when i run these forms at 800x600 the form is off the screen. Is there an addon or program code that detects the resolution and scales the form?
>
>Thanks Mark

There are several schemes for handling this. Generally, I set the maximum design area of forms to 640x480 in the options dialog so forms are never larger than this. You actually have to think somewhat smaller than this, at least for the height due to menus, toolbars, status bars, etc. For sizeable forms I store the users settings in a table and restore the last settings on form startup, checking resolution and available screen area and resizing programmatically if there is overflow ( i.e. maybe the user changed screen resolution or is running the application on a different machine ).

There is at least one class in the download section for automatically scaling a form and the controls on it. Or, you can write your own size handler for detecting resolution and applying appropriate scaling.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform