>>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
Oh well, it would be nice. The best I could come up with so far is an external procedure fired by pressing a function key. I've used some OCX's that automatically resize objects they contain such as the calendar8 control. I wonder how they do this? Oh well, thanks for the thought.
-Isaac
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