Solved

How to control TabStrip?

Posted on 1998-07-08
4
146 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

820 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