Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

SSTab

Experts,
Isn't there a way to delete tabs from SSTab after creating them?!
I've been trying to delete certain tabs from within the SSTab i have, but i couldn't!
0
feesu
Asked:
feesu
  • 2
1 Solution
 
vinnyd79Commented:
Not sure if this will help,but you could remove tabs from the end:

Private Sub Command1_Click()
On Error Resume Next
SSTab1.Tabs = SSTab1.Tabs - 1
End Sub
0
 
g_johnsonCommented:
it's controlled by the tabs property either in form design or code, and only removes from the end as vinnyd says
0
 
vinnyd79Commented:
Or you can hide the tab you do not want:

Private Sub Command1_Click()
' hide tab 2
SSTab1.TabVisible(1) = False
End Sub
0
 
feesuAuthor Commented:
so that's the only way; runtime!
Thanks everyone!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now