how can i add color to the TabControl..?
we can add color to the TabPage but how to Tab control.
horserider
0
Light Poster
Recommended Answers
Jump to PostI tested the code and as far as I can tell it does what you want it to do.
Private Sub TabControl1_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles TabControl1.DrawItem 'Firstly we'll define some parameters. Dim CurrentTab As TabPage = TabControl1.TabPages(e.Index) Dim ItemRect As Rectangle = …
Jump to Postthanks animal mother. it paints tabpage header. but it doesnt paint remaining part of the tab control... is ther any solution to this..
Hi Ashu26,
You can do it like this;
Private Sub TabControl1_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles TabControl1.DrawItem 'Firstly we'll define …
All 7 Replies
Animal Mother
8
Light Poster
Luc001
77
Posting Whiz
Animal Mother
8
Light Poster
horserider
0
Light Poster
Unhnd_Exception
Luc001
77
Posting Whiz
Unhnd_Exception
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.