dotNet tabControl

dotNet tabControl

Anonymous
Not applicable
520 Views
0 Replies
Message 1 of 1

dotNet tabControl

Anonymous
Not applicable
what up party people.
so i've been updating some scripts that used active X tabs.
I'm now using the dotNet tab controller.
anyways my question to you big brained fellows out there is,
is there any way to change the color of a tab at run time?
this is what i have tried with no result of any kind.

dotNetControl axList "System.Windows.Forms.Tabcontrol"
cl = dotNetClass "system.drawing.color"
axList.backColor = cl.fromargb 0 0 0

i have also tried

dotNetControl axList "System.Windows.Forms.Tabcontrol"
cl = dotNetClass "system.drawing.color"
axList.selectedTab.backColor = cl.fromargb 0 0 0

none of this two return the expected effect.
any ideas out there???
cheers,
Los.
0 Likes
521 Views
0 Replies
Replies (0)