Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DesignTime Behaviour..
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00304012
Message ID:
00304095
Views:
29
Sorry, I should have been clearer..

I'm creating my own Control Class, for example, I create a Class that has 2 Textboxes in a Container.

When I use this Class/Control on my Forms, if I resize it, at design time, all it does is enlarge the Border of the Container, (if it has a border).
If I then run the Form my Textboxes stretch to fit the new container size.
I want them to be able to do that at Design time, so when I resize the Class/Control at Design Time I see the Textboxes in it stretch to fit, there and then.

Hope that's clearer.

- Aaron.

>>I know this is probably not possible, but you can't be sure unless you ask right?..
>>
>>I'm defining alot of custom classes for a Project I'm going to be working on, and the most annoying thing I have noticed, is that if you resize one of these controls at Design Time, it doesn't trigger any events to make the control resize so I can see how it fits/looks. For that I have to switch to runtime.
>>
>>Any pointers? Or am I flogging a dead horse here?
>>
>>Aaron,
>
>I'm not exactly sure what you're getting at here. When, at design time, you drop a control on a form (or other container), you simply need to right click the property (such as Height or Width) and select Reset to Default from the context menu. This will restore it to whatever its parent's property size is.
>
>Is this what you're getting at?
Aaron Young
Red Wing Software, Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform