Solved

How to control TabStrip?

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

757 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

16 Experts available now in Live!

Get 1:1 Help Now