Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form resolution
Message
De
22/02/2000 14:56:04
 
 
À
22/02/2000 14:02:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00335513
Message ID:
00335556
Vues:
18
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform