Page 1 of 1
Changing tab using code
Posted: 06 Apr 2010, 19:13
by rlvision
This is probably a stupid questions, but I've tried everything I can think of and nothing works. My question is very simple: How do you change the currently selected tab (programmatically)?
Re: Changing tab using code
Posted: 06 Apr 2010, 20:01
by TiKu
Use the ActiveTab property, e. g.:
Code: Select all
Set TabStrip1.ActiveTab = TabStrip1.Tabs(x)
Re: Changing tab using code
Posted: 07 Apr 2010, 08:22
by rlvision
Thanks a lot. Works like a charm!