Results 1 to 5 of 5

Thread: Help With Tabs!

  1. #1

    Thread Starter
    Addicted Member Dementia Freaks's Avatar
    Join Date
    Jun 2001
    Location
    Canada
    Posts
    132

    Cool Help With Tabs!

    i would like to encourperate tabs into my app but am having some problems. i can use the "SS TAB"'s fine, but they look awful and require my app to be to long. so i tried the "TAB STRIP" and added all the tabs i needed, and was happy, but i couldnt select a certain tab to drop contents into like the SS TAB one worked. help would be greately appreciated. i just need to know howto select the seperate tabs (while editing the app od course) so i can drop buttons/text/boxes etc.. into it
    Gray FOX: "Only a fool, trusts his life to a Weapon!"

    Bart Simpson: "Bart no like! Baaad medicene!"

    www.sling.to/dementia-freaks <<<---Goto my site!

    http://pub80.ezboard.com/bdementiafreaksforum <<<---Goto my forum!

    Thats it!

  2. #2
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    It's easy... you can't!!
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  3. #3

    Thread Starter
    Addicted Member Dementia Freaks's Avatar
    Join Date
    Jun 2001
    Location
    Canada
    Posts
    132
    baaah! i cant? thats no good. well, how about a code example so when i click on tab1 for example frame1 is shown and the rest are hidden. i know it would be frame1.show frame2.hide etc... (i think) but i need the click code
    Gray FOX: "Only a fool, trusts his life to a Weapon!"

    Bart Simpson: "Bart no like! Baaad medicene!"

    www.sling.to/dementia-freaks <<<---Goto my site!

    http://pub80.ezboard.com/bdementiafreaksforum <<<---Goto my forum!

    Thats it!

  4. #4
    Junior Member Waat?'s Avatar
    Join Date
    Dec 2001
    Location
    Northern Hemisphere :)
    Posts
    27
    You cannot click on the tabs of a Tabstrip during Design mode and see the individual tabbed pages.

    However, if you like the tabstrip (ahhh), you need to place a container for your controls, like a frame or picture control, onto the tab control for each tab.

    In your application, you then note when a tab has been clicked on and make that frame or picture control visible, and the non-selected tab controls not visible.

    Simple.

    But if you are looking to keep your code small, you don't want either tab control. Can't remember where I've seen it, but there are tab controls out there with less weight and more control.
    Postin means I'm desperate!

  5. #5
    Junior Member Waat?'s Avatar
    Join Date
    Dec 2001
    Location
    Northern Hemisphere :)
    Posts
    27
    Oh, me forget to mention.

    Set the KEY for each tab. Say the first tab is titled "UGLY" and the other is "FUNNY".

    To note if it has been clicked on, I believe the code is:

    toolbar1.SelectedItem = <KEY STRING>

    So if you had code such as

    Private Sub toolbar1_Click()

    Select Case toolbar1.SelectedItem
    Case "UGLY"
    <code to get outta town>

    Case "FUNNY"
    <you can stay code>

    End Select

    End Sub
    Postin means I'm desperate!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width