Message 1 of 1
dotNet tabControl
Not applicable
02-06-2008
02:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
i have also tried
none of this two return the expected effect.
any ideas out there???
cheers,
Los.
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.