[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

How to control TabStrip?

I can control the properties of the TabStrip in VB5 such like add new tab, change tab name.
0
cheechew
Asked:
cheechew
1 Solution
 
mskannanCommented:
Hai,
when I also tried to use this tabstrip, I couldn't have that much control over this control and properties. Later I switched to sstab control which seemed to be easy and stable. why can't you try that. this is just a suggestion.

Thanks,
kannan.
0
 
swiltCommented:
Already answered this question with the following

Option Explicit

Private Sub Form_Load()
    Dim i As Integer

    TabStrip1.Tabs.Clear
    For i = 1 To 10
        TabStrip1.Tabs.Add
        TabStrip1.Tabs(TabStrip1.Tabs.Count).Caption = "Number " & TabStrip1.Tabs.Count
    Next i
End Sub

0
 
cheechewAuthor Commented:
Thank you. It is good idea always try to look alternative way of solving thing.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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