Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time re-size
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01406083
Message ID:
01406260
Views:
150
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>Forgot if this problem was discussed here or not. Is it possible to create a container based class that would resize its components properly in design-time (in run-time it's easy).
>
>Thanks in advance.

You would need to write a builder and it would need to be able to handle every object type in your form. I have written some to resize and align labels with text boxes and another to size and position command buttons inside a container so I know it can be done but I'm not sure it would be worth the effort to do an entire form. Another way might be to have it re-size normally while running and then run a process that would get the size and position of all the objects while the form is running and put them in a table that would then be accessed by a builder. Again, is it worth all that effort?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform