Mar 12, 2003 #1 M mza1979m Newcomer Joined Feb 20, 2003 Messages 13 Location London, Ontario If I have two pages in my TabControl, how do I bring one to the front programatically, during run time? The name of my control is "TabControl".
If I have two pages in my TabControl, how do I bring one to the front programatically, during run time? The name of my control is "TabControl".
Mar 12, 2003 #2 U UCM Centurion Joined Jan 1, 2003 Messages 135 Location Colorado, usa try this: Visual Basic: TabControl.SelectedIndex = 2 ' Where '2' is the zero-based index of the tab page you wish to display
try this: Visual Basic: TabControl.SelectedIndex = 2 ' Where '2' is the zero-based index of the tab page you wish to display
Mar 12, 2003 #3 M mza1979m Newcomer Joined Feb 20, 2003 Messages 13 Location London, Ontario That's what I have been using all along, but then you made me realize that my error was elsewhere. It was a logic error. Thanks
That's what I have been using all along, but then you made me realize that my error was elsewhere. It was a logic error. Thanks