Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSTAB

Status
Not open for further replies.

kimtp

Programmer
Jun 15, 2002
310
US
Have placed a sstab on a form with three tabs. Would like to have the first tab be the visible one when loaded. Have messed around with some of the methods but can not seem to make any work.

Any help would be great.

thanx.

Kim
 
I think if you use SSTab1.Tab=0 in your form open code or wherever it should open with that tab. Shout back if its wrong.
 
I assume that your three tabs are 0 through 2, and Tab 0 is the only one that you want to be visible when the form loads. If this is not the case, let me know. If it is, then this should work for you.
Code:
Private Sub Form_Load()
SSTab1.TabVisible(1) = False
SSTab1.TabVisible(2) = False
End Sub
 
sstab1.tab = 0 is the winner. Many thanx for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top