Technology and Online Community For All
welcome JOIN US NOW AND FEEL THE DIFFERENCE headbang
Technology and Online Community For All
welcome JOIN US NOW AND FEEL THE DIFFERENCE headbang
Technology and Online Community For All
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Technology and Online Community For All

What You See Is What You Get
 
HomeGalleryLatest imagesSearchRegisterLog in
May 2024
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
262728293031 
CalendarCalendar
Latest topics
» Uniblue PowerSuite
TUT for Adding Tab and Caption in TabStrip Icon_minitimeMon Apr 09, 2012 7:27 pm by BlitzKrieG

» Ova Drive Hider
TUT for Adding Tab and Caption in TabStrip Icon_minitimeFri Mar 02, 2012 8:48 am by CodeWarrior

» Ova Folder Security
TUT for Adding Tab and Caption in TabStrip Icon_minitimeMon Feb 27, 2012 5:06 pm by CodeWarrior

» SPSBox
TUT for Adding Tab and Caption in TabStrip Icon_minitimeSun Feb 26, 2012 4:24 am by CodeWarrior

» Norton [all here]
TUT for Adding Tab and Caption in TabStrip Icon_minitimeThu Feb 23, 2012 8:01 am by BlitzKrieG

» OvaSystemSolution CVRS System
TUT for Adding Tab and Caption in TabStrip Icon_minitimeSat Feb 18, 2012 6:06 am by CodeWarrior

» Avril Lavigne - Smile
TUT for Adding Tab and Caption in TabStrip Icon_minitimeSat Jan 28, 2012 7:14 am by ^PiNKHeRMioNe

» Hot N Cold- Katy Perry
TUT for Adding Tab and Caption in TabStrip Icon_minitimeSat Jan 28, 2012 7:11 am by ^PiNKHeRMioNe

» America's next top model (All Stars) Lisa D'Amato
TUT for Adding Tab and Caption in TabStrip Icon_minitimeSat Jan 28, 2012 6:55 am by ^PiNKHeRMioNe

Search
 
 

Display results as :
 
Rechercher Advanced Search
Who is online?
In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests

None

Most users ever online was 265 on Wed Sep 22, 2021 9:02 pm
Top posters
trekyboy
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
BlitzKrieG
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
ZNABiRA
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
EDI`STEALTH
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
*B o R g Z
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
SHY
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
CodeWarrior
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
^PiNKHeRMioNe
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
RaiJin
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
chaotic`
TUT for Adding Tab and Caption in TabStrip Vote_lcap2TUT for Adding Tab and Caption in TabStrip Voting_bar2TUT for Adding Tab and Caption in TabStrip Vote_rcap2 
Statistics
We have 239 registered users
The newest registered user is Hellraiser666

Our users have posted a total of 948 messages in 662 subjects

 

 TUT for Adding Tab and Caption in TabStrip

Go down 
AuthorMessage
CodeWarrior
Code Master
Code Master
avatar


Join date : 2011-12-20
Male Posts : 22

TUT for Adding Tab and Caption in TabStrip Empty
20111228
PostTUT for Adding Tab and Caption in TabStrip

This is a simple Tutorial for TabStrip in VB6 Code

Open New Project using VB6 Language
Then you must need
1. One TabStrip
2. One Texbox for the name of tab you want to add
3. Two Command Button for Adding and Removing Tab

First Press Crtl + T to Open Components
Then Add the Components Microsoft Windows Common Controls 6.0 (SP6) then Click Ok
Now you have the Microsoft Windows Common Controls 6.0 on your Project

Double Click the Command1 Button and Put This Code
Code:
Private Sub Command1_Click()
    Dim i As Integer
    For i = 1 To TabStrip1.Tabs.Count
        If TabStrip1.Tabs(i).Selected = True Then
            TabStrip1.Tabs.Add.Caption = Text1.Text '<=== Text1 is The Tab Caption
            Exit For
        End If
    Next i
End Sub

Same Process Double Click the Command2 Button and Put this Code

Code:

Private Sub Command2_Click()
    Dim i As Integer
    For i = 1 To TabStrip1.Tabs.Count
        If TabStrip1.Tabs(i).Selected = True Then ' <=== Selected Tab to Remove
            TabStrip1.Tabs.Remove i '<==== Remove Tab
            Exit For
        End If
    Next i
End Sub

Now Try to Run your Simple Project TabStrip Adding Tab With Name and Removing Tab

Back to top Go down
Share this post on: reddit

TUT for Adding Tab and Caption in TabStrip :: Comments

No Comment.
 

TUT for Adding Tab and Caption in TabStrip

Back to top 

Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Technology and Online Community For All :: Technical Support :: Programming Related :: Visual Basic 6/VB.NET-
Jump to: