Calvin,
You didn't mention why you say it doesn't work. You might look however at:
public override rather than override public.
Tim
>What were you doing in Milledgeville? I went to High School there - Ga Military Colleage. We keep a small sailboat on Lake Sinclair so we are up there about every weekend.
>
>
>This code does not work. Can you tell me what I am doing wrong? Is it because this is a subclass of a subclass?
>
> public partial class wrLabel : OakLeaf.MM.Main.Windows.Forms.mmLabel
> {
>
>
> override public Font Font
> {
> get { return base.Font; }
> set { base.Font = value; }
> }
>
> public wrLabel()
> {
> InitializeComponent();
> base.Font = new Font("Arial", 8); // referencing System.Drawing.
> }
> }
Timothy Bryan