Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TabPage in 2.0
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
01094743
Message ID:
01095186
Vues:
10
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform