Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing
Message
From
29/01/2004 16:24:38
 
 
To
29/01/2004 15:35:51
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00872025
Message ID:
00872056
Views:
15
Jeffrey,

I don't know of a utility or program that does this, but you can easily write your own code in each of your base controls so that each control moves or resizes itself whenever the container its in is resized.

Most 3rd party frameworks have this feature built in to them as well as countless other things that you'll need to incorporate into all of your applications. I would suggest looking into any of the commercially available frameworks.

If you still want to add this "auto-resize" capability to your applications on your own, you can do so by putting code in your each of your base controls (you should have at least one layer of sub-classed native VFP controls) that bind to a container's resize method. You can specifiy some delegate code to execute in each control whenever the container is resized so that each control handles its own resizing and/or moving. Look into using BINDEVENT and adding some special methods and properties to each of your base controls for calculating new sizing and/or positioning.

Goodluck,
Al


>Does anyone know where I can find a Vfp utility/program that will automatically re-size my forms and all controls on the form whenever the user resizes the form?
Previous
Reply
Map
View

Click here to load this message in the networking platform