Tab control
-
Hi, I'm building my own tab control. I have classes with all of the lines and stuff I want to draw to make up the tabs and the outline to the control. But I'm just wondering because I'm finding it difficult to draw a tab each time a button to add a new tab is clicked, should I create a user control(for each tab) inside a user control(the actual tab control) or is there a good way to draw a tab using the class I have for that purpose each time the add tab button is clicked? Sorry if this is hard to understand, I typed it out twice cos' the first time it was to hard for even me to understand :sigh: thanks
-
Hi, I'm building my own tab control. I have classes with all of the lines and stuff I want to draw to make up the tabs and the outline to the control. But I'm just wondering because I'm finding it difficult to draw a tab each time a button to add a new tab is clicked, should I create a user control(for each tab) inside a user control(the actual tab control) or is there a good way to draw a tab using the class I have for that purpose each time the add tab button is clicked? Sorry if this is hard to understand, I typed it out twice cos' the first time it was to hard for even me to understand :sigh: thanks
-
Is this through WPF or Windows Forms? Also, are you building a new tab control more for fun, or to meet a need that the built-in tab control didn't meet?
akidan wrote:
Is this through WPF or Windows Forms?
It's through windows forms.
akidan wrote:
Also, are you building a new tab control more for fun, or to meet a need that the built-in tab control didn't meet?
A bit of both.