Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How you designing resolution-independent forms?
Message
From
28/12/2004 14:00:17
 
 
To
28/12/2004 13:28:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00972655
Message ID:
00972663
Views:
15
>For the past 5 to 10 years, the mainstream PC display device has change from the 15"CRT monitor to nowsday 17"LCD or 19"CRT, so as the desktop resolution has change from 800X600, 1024X768, 1280X1240 or maybe even to 1600X1200 also! So I would like to know how you design your forms to work nice for all those desktop resolution in your software? Below here is the only ideas I can get, can anyone provide me any hint or smarter idea?
>
>1)Write some code at the form init event to set the form top/left/height/width according to the screen resolution, and also need to re-locate all the top/left/height/width for others object like button, label, textbox, combobox, gird..... this method need position calculation and a lot of coding if the form contain a lot of object, somemore if got a lot of forms more work to do!

This is not hard in VFP9 with the new Anchor property.

But the truly annoying thing is to scale the fontsize correctly.

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform