Results 1 to 22 of 22

Thread: How do you add tabs to a frame?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586

    Cool How do you add tabs to a frame?

    Greetings,

    How do you add tabs to a frame? I realize this should somehow be obvious; but after fifteen minutes of wasting time, I need some direction.

    Thank you,
    Jim

  2. #2
    Addicted Member Cimperiali's Avatar
    Join Date
    Oct 2002
    Location
    Milan, Italy, Europe
    Posts
    188

    Do the contrary....

    ..add frames to a tabControl!
    Special thanks to some wonderful people,
    such as Lothar the Great Haensler, Aaron Young,
    dr_Michael, Chris Eastwood, TheOnlyOne ClearCode....

  3. #3

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586
    Originally posted by MartinLiss
    You don't. You use the Microsoft Tabbed Dialog control.
    OK, how do I get the Tabbed Dialog Control to be available?

  5. #5

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586
    Originally posted by MartinLiss
    In the VB IDE menu select

    Project|Components

    and select it from the list.
    Are you trying to make me feel stupid???????????!!!!!!!!

    Well it worked.

    Thanks,
    Jim

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586

    Cool 'tab'oo subject

    In development, how can I specifically put in objects for one tab and then put in objects for the other tab. I put a frame with some items on the first tab. Now I want to put some items specifically for the other tab. Nothing is happening when i click on the 2nd tab, in development. How do I need to approach this? I've been searching the tabstrip prperties for clues. Hmmm?

  8. #8

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586
    Originally posted by MartinLiss
    At design time draw the controls on tab1, then click tab2 and draw the controls on tab2. They don't need to be done in that order, but they do have to be drawn on the tab (or copy/pasted).
    I agree; but that's the problem. In design, when I click on tab2, it just stays on tab1.

  10. #10
    Frenzied Member andreys's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,615
    Are you sure that the object you got is

    Microsoft Tabbed Dialog Control (TABCTL32.OCX)???

  11. #11
    Fanatic Member
    Join Date
    May 2002
    Posts
    746
    You want to use the MS Tabbed dialog control - not the tab strip found in the MS Common Controls.

  12. #12

  13. #13

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586
    So I should use the SheridanSopftware tab? That's the kind you sent, as indicated in the About in properties for the tab?

  14. #14
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    No don't use the Sheridan control. There is one called the Microsoft Tabbed Dialog Control. Just add it to your form and you should be able to click the tabs at design time and draw items on different tabs.
    <removed by admin>

  15. #15

  16. #16
    Frenzied Member andreys's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,615
    Originally posted by JimMuglia
    So I should use the SheridanSopftware tab? That's the kind you sent, as indicated in the About in properties for the tab?
    Just a portion of it was developed by Sheridan Soft for Microsoft.

  17. #17
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    I didn't know it was a Sheridan Control. I don't use it, I tend to just use the tabstrip that comes with the windows common controls. It's a little more code, but I just got used to using it.
    <removed by admin>

  18. #18

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586
    Originally posted by andreys
    Just a portion of it was developed by Sheridan Soft for Microsoft.
    So would our clients have to have it installed as a 3rd party component?

  19. #19

  20. #20

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586
    Originally posted by MartinLiss
    Jim, after choosing the MS Tabbed Dialog from Components, just select the SSTab from the toolbox.

    When you build your distribution files the installer will include whatever your clients need.
    So is that true with most components ingeneral. Say I use Company X's widget control. Would my clients have to get a license or any ocx files from Company X? Or does the install take care of each and every of those isues?

  21. #21
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    When you purchase a control (or someone gives you a control that they wrote - in other words it's a legal copy) you have the right to distribute it in an application unless for some strange reason the maker specifically prohibits it.

  22. #22

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2002
    Posts
    586
    Originally posted by MartinLiss
    When you purchase a control (or someone gives you a control that they wrote - in other words it's a legal copy) you have the right to distribute it in an application unless for some strange reason the maker specifically prohibits it.
    Thank you for that clarification.

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