• Log in or sign up for an account here: https://www.sythe.org/login

Adding Tabs?

Bbri06

Apprentice
Joined
May 21, 2006
Sythe Gold
0
Messages
911
I am using Microsoft Visual Basics 2005 Express Edition and am wondering how I add a tab. I have tried the addtab method but it ses it is not declared. Any help please?
 
maybe try reinstalling
 
Member of the Month Winner
Sythe's 10th Anniversary
Code:
TabControl.TabPages.Add("Tab name here")
replace TabControl with your Control name

look through it before you post ;)
 
Member of the Month Winner
Sythe's 10th Anniversary
Umm ... did you not see how he said that there was an easier way to do it? By that I'm assuming he was aiming that at the code I posted ... lol.

You're going to have to add controls at runtime if you want anything to be on the tabs though ...
 
first make sure youve added a tab lay out panel then in properties click tabpages and the ... button a menu will pop up with more properties and..yea (I wasnt sure if you meant in vb5 or if the user wanted to add tabs)
 
Runescape Gamblingrunescape gambling
Back
Top