Adding Tabs?

Discussion in 'Programming General' started by Bbri06, Mar 17, 2007.

Adding Tabs?
  1. Unread #1 - Mar 17, 2007 at 11:29 PM
  2. Bbri06
    Joined:
    May 21, 2006
    Posts:
    911
    Referrals:
    1
    Sythe Gold:
    0

    Bbri06 Apprentice

    Adding Tabs?

    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?
     
  3. Unread #2 - Mar 17, 2007 at 11:35 PM
  4. cooladrrang
    Joined:
    Jan 21, 2007
    Posts:
    125
    Referrals:
    0
    Sythe Gold:
    0

    cooladrrang Active Member

    Adding Tabs?

    maybe try reinstalling
     
  5. Unread #3 - Mar 18, 2007 at 2:58 AM
  6. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    Adding Tabs?

    Code:
    TabControl.TabPages.Add("Tab name here")
    replace TabControl with your Control name

    look through it before you post ;)
     
  7. Unread #4 - Mar 18, 2007 at 7:42 PM
  8. Skeletron
    Referrals:
    0

    Skeletron Guest

    Adding Tabs?

    Wow, there is a more easy way to do it! My way is:

     
  9. Unread #5 - Mar 18, 2007 at 11:15 PM
  10. Bbri06
    Joined:
    May 21, 2006
    Posts:
    911
    Referrals:
    1
    Sythe Gold:
    0

    Bbri06 Apprentice

    Adding Tabs?

    Thank you again Skeletron, you really know your stuff.
     
  11. Unread #6 - Mar 19, 2007 at 3:53 AM
  12. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    Adding Tabs?

    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 ...
     
  13. Unread #7 - Mar 28, 2007 at 7:49 PM
  14. 5cript
    Joined:
    Jan 22, 2007
    Posts:
    138
    Referrals:
    1
    Sythe Gold:
    0

    5cript Active Member

    Adding Tabs?

    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)
     
  15. Unread #8 - Mar 29, 2007 at 12:38 AM
  16. speljohan
    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0

    speljohan Guru
    Visual Basic Programmers

    Adding Tabs?

    that would only predefine tabs though. Maybe he wants to create them at runtime.
     
< askin for advice | Jar >

Users viewing this thread
1 guest


 
 
Adblock breaks this site