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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement