Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design-time events
Message
De
01/10/2003 15:15:25
John Flanigan
Software Technology Initiative, Inc.
Groton, Massachusetts, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Design-time events
Divers
Thread ID:
00833938
Message ID:
00833938
Vues:
55
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
Fil
Voir

Click here to load this message in the networking platform