i have 2 tabs, and on the first tab (tab1)i have a button and i want it to get the other tab in focus.
so i tried many things, such as

Tab2.Show(),
Tab2.Focus(),
Tab1.Hide() : Tab2.Show(),
Tab2.Show() : Tab2.Focus(),

but none of them worked.
well, hiding the first tab then showing the second worked but the tab position stayed the same. for example, when the user clicks on the tab, it makes it look like the tab is "focused" but when i hide the first tab and show the second, the focus is still on the first tab.

any help? thanks.