Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TabPage in 2.0
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
01094743
Message ID:
01095186
Views:
11
Kevin,
I am glad to see you join this thread (because I think it was you who showed me how to subclass in 1.1 many moons ago <s>)

Your sugestion does not help my case. Well here is something else that is odd. When I examine an instance of myTabPage using the properties it states that the BackColor is Red but in the designer it is white and at runtime it is also white (I might be color blind but I can tell the difference between white and red <s>)

The reason I didn't (want to) add a set to the property is because I don't want some crazy developer (or me) to change the BackColor of an instance of myTabPage.

Einar

>Hey, Einar,
>
>I'm full on pizza and root beer (just threw a victory party for youth hockey league...damn, those kids can eat), so take this post as a total shot in the dark...
>
>When you override the backcolor, try this...
>
>
>public override Color BackColor
>{
>	get { return base.BackColor; }
>	set { base.BackColor = value;  }
>}
>
>
>
>Let me know if that works (if not, I'll switch to diet pepsi!) ;)
>
>Kevin
>
>
>
>
>
>
>
>
>
>
> get { return base.BackColor; }
>>> set { ; }
>>> }
>>>
>>> public myTabPage()
>>> {
>>> InitializeComponent();
>>> base.BackColor = Color.Red;
>>> }
>>>
>>> protected override void Dispose( bool disposing
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform