Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizable Container Control
Message
 
To
21/07/1997 18:42:34
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00041015
Message ID:
00041899
Views:
29
Not that I know of, Renato, but you can resize it programatically when the user resizes the window that it's in. So if your window originally sized at 100,200, and the user resized it to 75,180, put in your form's resize event:
This.MyCntnr.Width =Thisform.OrigWidth *75/100
This.MyCntnr.Height=Thisform.OrigHeight*180/200
(Where OrigWidth & OrigHeight are form properties which are equal to the original width & height, and 100 and 200 stay constant because they're the original width & height of the form itself).

If you want to have more than one sizable container on the same form, you may need to do a form set with some border tricks which make them look like the same form.

It's either that or some VERY fancy Drag & Drop routines, but that seems more hastle than it's worth.

JR

>When there's a container into a Form, isn't it possible to a user resize it at run time with the mouse? (such as he can do with the Form itself)
>
>TIA
>
>Renato
CLARC Services, Inc.
3500 Tamiami Trail
Port Charlotte, FL 33952
www.clarc.com
(941) 743-0108
(800) 246-5488
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform