Reputation: 1367
in c#, winforms, I have a tabcontrol that contains some pages, I dont know how many, but I need to send one tab (addTab) always to the end, any hint how to do that?
Upvotes: 1
Views: 732
Reputation: 263167
You can modify the TabPages collection:
yourTabControl.TabPages.Remove(addTab);
yourTabControl.TabPages.Add(addTab);
Upvotes: 1