Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Hook the Visual Class designer?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00757168
Message ID:
00757381
Vues:
18
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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform