View Single Post
Old 04-01-2010, 04:07 PM   #9
Ronnke
 
Join Date: Aug 2004
Location: Australia
Default Re: GURPS HP & FP Tracker (application)

Plus Java makes the baby Jesus cry. :P

FYI

To dynamically add a tab (where "tabControl" is the name of your tab object):

tabControl.TabPages.Add("My New Tab");

To change the names on the tab:

tabControl.TabPages[0].Text = "New Tab1 Name";
tabControl.TabPages[1].Text = "New Tab2 Name";

*the [0] and [1] indentifies the tab you are working with. So if you added a new tab, then the index would be [2] and so on.

Hope that helps your on your way to learning c#. Good luck. :)
Ronnke is offline   Reply With Quote