>Is there any way to have a method fire at design time?
>I have a container class that I added an "AutoSize" property. If I set this prop to .t. I would like to fire a method at design time. My method of course will resize the objects within the container so the designer will see what it looks like.
>
Hmm... interesting idea... but, I don't think so. You could possibly create a builder for this... if you change the property in the builder you can have an assign method in the builder which could call the size method of the container.
BOb
Précédent
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