Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visually scale entire application
Message
 
À
22/01/2009 12:04:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01376339
Message ID:
01376916
Vues:
25
The anchor property can be used to resize the objects themselves in VFP9. However, that still leaves an issue with the font size which will not change when the form is resized even if you are using the anchor property on the controls.

You will need to write or find a routine called from the form's RESIZE event which iterates through each control on a form and changes the FONTSIZE property of each control based upon its increase in height. Use the FONTMETRIC() function to help.

Such a function will need to track the original size of the control and the original FONTSIZE as well as the original form sizing so you can tell what to scale and by how much.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform