Tabs

Discussion in 'Programming General' started by hockeykid09, Jan 29, 2008.

Tabs
  1. Unread #1 - Jan 29, 2008 at 7:17 PM
  2. hockeykid09
    Joined:
    Mar 16, 2007
    Posts:
    1,162
    Referrals:
    0
    Sythe Gold:
    0

    hockeykid09 Guru
    Banned

    Tabs

    I'm making an rs client and I want to make tabs for f2p and members worlds.
    Similar to eliteswitch how when you click free it shows the free worlds.


    I set up 2 frames where my command buttons for the worlds will be.
    the code will be something like


    Private Sub Command1_click()

    frame1.visible = true
    frame2.visible = false

    End sub

    My question is, how do I get the command buttons to be set onto the
    frames? Like when i select frame1 i will see f2p and frame2 i'll see p2p?
     
  3. Unread #2 - Jan 29, 2008 at 8:20 PM
  4. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

    Tabs

    correct me if i'm wrong, but doesn't vb6 have a tab control? assuming i am right wouldn't it be easier to use the tab control?
     
  5. Unread #3 - Jan 29, 2008 at 8:30 PM
  6. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    Tabs

    @skate4lifee:
    Tabs are very horrible controls if you are trying to make something snazzy, and it's a waste of time to use the tabstrip control for only 2 tabs.


    @hockeykid09:
    Try this out.
     

    Attached Files:

  7. Unread #4 - Feb 3, 2008 at 9:47 AM
  8. Supah Fly
    Joined:
    Aug 22, 2007
    Posts:
    202
    Referrals:
    1
    Sythe Gold:
    0

    Supah Fly Active Member
    Banned

    Tabs

    You can also use microsoft tab control in microsoft common controls sp2
     
  9. Unread #5 - Feb 3, 2008 at 4:55 PM
  10. hockeykid09
    Joined:
    Mar 16, 2007
    Posts:
    1,162
    Referrals:
    0
    Sythe Gold:
    0

    hockeykid09 Guru
    Banned

    Tabs

    I just used frames, my problem was that my second frame was INSIDE my first
    one so it got all messed up. Its all good now.
     
< Are there any tutorials on c++? | Resourses full? it wont let me add any more images >

Users viewing this thread
1 guest


 
 
Adblock breaks this site