Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Hook the Visual Class designer?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00757168
Message ID:
00757471
Views:
11
Hi David

You are correct that I do not need to to do this at design time. I just thought that if it was easy to do I would implement it.

Simon

>Simon,
>
>Do you really have to have design time resizing of the internals? I have a few resizeable components in my toolbox. When I drop them on a form I resize the outermost container to set the size it'll be at runtime. The class has all of the code in its inits and the internals resize/reposition themselves to "fit" the container size.
>
>If you have to have design time resize then you need a builder like Fred recommends, which I think could instantiate the actual container to what the size is on the designer, let the class do it's resizing work, then you can apply the size/position properties back down to the design surface. All in all though I think it's just easier to let it all happen at runtime, and live with the smaller internal appearance at design time.
>
>>I wonder if there was a way to hook the Visual Class designer. I would like to trigger a method in a control on the form in the Visual Class Designer when the control is resized.
Simon White
dCipher Computing
Previous
Reply
Map
View

Click here to load this message in the networking platform