mpemberton
Programmer
I know this must be easy, but I'm failing to get it to work.
I simply want to dynamically add a new page in a multipage control. I thought it was as simple as this code:
However, it is stating it was looking for an "=". I attempted to assign it to a new object variable, but didn't like that either.
Any words of advice?
I simply want to dynamically add a new page in a multipage control. I thought it was as simple as this code:
Code:
frmMyForm.MultiPage1.Pages.Add("Page 3","Page 3",2)
However, it is stating it was looking for an "=". I attempted to assign it to a new object variable, but didn't like that either.
Any words of advice?