Originally Posted by
a9x9x69
I try to add a tab using Tabcontrol, and when I want to go to the new tab, it gets an error
The name 'int' does not exist in the current context
The code I use is
Code:
tabControl1.SelectTab(@int());
Thanks for helping
well, you would have to do some writing but...
(And I have very little time..)
Do something like:
Code:
int i = 0;
Button->
Create New Tab
-> i++; for each new tab made.
Button->
Remove Tab
Then on a Remove option you would have to decrease the i value
-> i--;
Hope you get it
And then you use your code:
Code:
tabControl1.SelectTab(i);
Enjoy your time