Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to control TabStrip?

Posted on 1998-07-08
4
Medium Priority
?
153 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Author Comment

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

Accepted Solution

by:
swilt earned 150 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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 …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

661 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