• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • 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

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

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