General information
Category:
Forms & Form designer
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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only