0

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.

Edited by Alxprog

2
Contributors
2
Replies
13
Views
3 Years
Discussion Span
Last Post by Alxprog
1

Then it would be this:

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

I use VS2008.

Upgrade your compiler.

Edited by Ancient Dragon

0

Thanks, it's worked.

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.