Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How you designing resolution-independent forms?
Message
De
28/12/2004 14:00:17
 
 
À
28/12/2004 13:28:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00972655
Message ID:
00972663
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform