G
Guest
I've tried the following, and it sets the focus to the tab, but it doesn't
put the square box on the tab like it does when you use the mouse to click on
a tab. Therefore, when you press the right and left arrows, it doesn't go to
the next tab.
Here's what I was trying to emulate clicking on the 3rd tab.
this.tabProductCategories.SelectedIndex = 2;
this.tabProductCategories.TabPages[2].Focus();
this.tabProductCategories.TabPages[2].Select();
put the square box on the tab like it does when you use the mouse to click on
a tab. Therefore, when you press the right and left arrows, it doesn't go to
the next tab.
Here's what I was trying to emulate clicking on the 3rd tab.
this.tabProductCategories.SelectedIndex = 2;
this.tabProductCategories.TabPages[2].Focus();
this.tabProductCategories.TabPages[2].Select();