Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visually scale entire application
Message
 
To
22/01/2009 12:04:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01376339
Message ID:
01376916
Views:
20
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
Map
View

Click here to load this message in the networking platform