Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement