views:

68

answers:

1

I can't seem to find an answer for this anywhere. An icon before the label on the default tabcontrol tabs would suffice for my needs.

Thanks in advance.

Q: You need to clarify what library set you're using: Winforms, WPF, ASP.Net, GTK#, etc. – Nathan Ernst

A: You are totally right, my mistake. I'm using Winforms. I switched back from WPF, since WPF was crashing in some computers.

+2  A: 

It is a built-in feature of the TabControl. Drop an ImageList on the form and fill it with your icons. Set the TabControl.ImageList property. For each tab page, set the ImageIndex property.

Hans Passant
I saw the article at MSDN but it seems that's before it actually draws the tab. If I put anything on the designer file Visual Studio just freaks out hehe. What do you suggest?
Queops
What did you put on it? Avoid heavy weights and flammable materials.
Hans Passant
Funny you say that. It works now. Go figure, probably something temporary :P
Queops