In my book a new tabpage is created programmatically this way:

auto tabPage3 = gcnew System::Windows::Forms::TabPage();

but I want to do it without "auto" word because that's a new 2010 feature and I use VS2008.

The MSDN solution didn't help. I hope it'll take just a little tweast to solve this.

Recommended Answers

Then it would be this:

TabPage^ tabPage3 = gcnew System::Windows::Forms::TabPage();

I use VS2008.

Upgrade your compiler.

Jump to Post

All 2 Replies

Then it would be this:

TabPage^ tabPage3 = gcnew System::Windows::Forms::TabPage();

I use VS2008.

Upgrade your compiler.

Thanks, it's worked.

Ok I'll change my compiler, but I asked because of educating purposes mostly.