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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SS Tab Control Question

Status
Not open for further replies.

shyamal

Programmer
Aug 14, 2000
79
US
For the SS Tab Control, how does one disable a tab.
For example one has Tab1, Tab2, Tab3, Tab4 and I want Tab 1,2 and 4 visible but want to make Tab 3 not visible during run time. For tab properties one can either enable or disable the tab but this applies to the whole Tab strip not just one particular tab.

Thanks in advance.
 
Try the TabVisible property
eg
SSTab1.TabVisible(2) = False
sets tab 2 invisible
 
This seems as though it should work, it doesn't:

mnuFileNew_Click

With tabIssue
.Tab = 0
.tabvisible(1)=False
End With

I tried variations as in, .visible, instead of false I typed 0,1,2. I even tried a seperate subprocedure with the
same syntax. It does not work at run time. The tab remains visible??

 
Found the answer this needs to be in Form Load so that it can be loaded not visible.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top