The name 'int' does not exist in the current context
Posts 1–2 of 2 · Page 1 of 1
The name 'int' does not exist in the current context
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
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--;