-
vb6 and SSTab
i made a sort of menu where when i press a button only one tab appears out of the SSTabs. What i did is set the SSTab visible to false and when a button is pressed, set the visible of the SSTAb to true as well as a certain tab for example SSTab1.TabVisible(0) = true. it works but the tab does not load its contents.. i still have to click on the tab itself before the tab shows its contents.
is there a .selected function for SSTab? is it possible that when i click the button the tab automatically shows its contents? and i dont have to press the tab itself? Thanks.
-
Re: vb6 and SSTab
You just need to set the Tab property:
Code:
Private Sub Command1_Click()
SSTab1.Tab = 2 'or whtever
End Sub