Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design-time events
Message
From
01/10/2003 15:15:25
John Flanigan
Software Technology Initiative, Inc.
Groton, Massachusetts, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Design-time events
Miscellaneous
Thread ID:
00833938
Message ID:
00833938
Views:
54
Does anyone know if design-time events are possible in VFP? I have seen that VB provides them.

Let's say I have created a class derived from the control class. This control contains 2 objects capable of being resized, like a grid or TreeView. When I visually define the class, I set the control to a reasonable height and width. I do the same for the objects it contains. The contained objects take up 100% of the control's area

Now, when I instantiate the class on a form, I will usually need to resize it to fit. When I resize the outer control, I want the contained objects to resize accordingly, in real-time.

The only way I can think to do this is to have (wish for) design-time events.

Or perhaps there is a more practical solution to this?

Thank you for your considerations.

Regards,
John
Next
Reply
Map
View

Click here to load this message in the networking platform