Solved

How to control TabStrip?

Posted on 1998-07-08
4
144 Views
Last Modified: 2011-08-18
I can't control the properties of the TabStrip in VB5 such like add new tab, change tab name.
0
Comment
Question by:cheechew
  • 2
  • 2
4 Comments
 
LVL 1

Author Comment

by:cheechew
ID: 1465278
Edited text of question
0
 
LVL 2

Accepted Solution

by:
swilt earned 50 total points
ID: 1465279
Try this

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
 
LVL 1

Author Comment

by:cheechew
ID: 1465280
Why the properties windows can't control the TabStrip?
0
 
LVL 2

Expert Comment

by:swilt
ID: 1465281
You can add new tabs by clicking on custom in the property window then Tabs - Insert Tab
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now