>>>Add an assign method to the cCaption property and set the caption of the label in this method.
>>>
>>>You can also add "this.cCaption=this.cCaption" in the init() of the container (IOW force the assing method).
>
>I tried that, but I still get the base class value at design time.
That was a normal behaviour, the code was not interpreted until run time.
If that bug you, you can create a builder for your class :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca