Viv and Danijel,
You're right that constructors are different. In the case of C#, in case you're interested, the way to do this would be something like this:
public class BBControl : System.Windows.Forms.UserControl
{
public BBControl()
{
InitializeComponent();
}
public BBControl(string InitString):this()
{
this.lblDisplay.Text = InitString;
}
}
I guess I kinda forgot about this in my initial reply, so my apologies if anyone got confused.
~~Bonnie
>Hi,
>
>>>
>Exactly what I ended up in doing. Thanks though, weird that this isn't supported as in C#.
>>>
>
>Might be wrong but I thought derived classes in C# didn't inherit base class constructors either ?
>
>Regards,
>Viv