Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different screen resolutions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00136440
Message ID:
00136869
Vues:
31
>1) Form knows its size based on Sysmetrics.

This can be tricky, since I'm not sure if VFP supports the SystemParametersInfo(SPI_GETWORKAREA) API call, which accounts for the taskbar and other docked toolbars. I know it took me long enough to find it!

>2) Control buttons know they must live 11 pixels from the bottom of a form and 9 from the right edge if MS SANS SERIF 8, 13 and 9 pixels if in some other font.

Sounds good. They interrogate ThisForm without mediation?

>3) The OK button can position itself relative to cmdCancel with no other fanfare.

Again, no mediation? Of course, I agree with this approach.

>4) Listbox fills the form leaving room for control buttons plus the Windows guideline for inner control spacing, and so on.

Again, the listbox does this itself?

Finally, how about text fields and their labels? Should the text expand proportionately (obviously the labels should not).

>See also LAYOUT.EXE at http://www.stevenblack.com, but you know, I know SFA about the giving around here, DB.

I don't know what "DB" means, but I for one never said you know SFA about giving. Just that your recommendation discouraged it. :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform