CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: SSTab control

  1. #1
    Join Date
    Sep 2000
    Posts
    200

    SSTab control

    I have drawn SSTab1 control to my frmMainForm. It has 6 tabs. I want to 2 additional SSTab controls (2 & 3) to display when user clicks on a menu selection. I want SSTab2 and SSTab3 to appear in the same position on frmMainForm as SSTab1. What can I draw it on. I tried a dialog, but it has a top border . . . Any s**** would be appreciated. Thanks.
    John


  2. #2
    Join Date
    Aug 2000
    Location
    Moscow
    Posts
    85

    Re: SSTab control

    You can place this SSTab controls on the form and control visibility of SSTab controls.
    SSTab1.Visible = False
    SSTab2.Visible = True

    Vitaly
    [email protected]




  3. #3
    Join Date
    Sep 2000
    Posts
    200

    Re: SSTab control

    But what do I draw it on? I want SSTab2 to appear in the same place as SSTab1 on MainForm.
    Thanks for any help.
    John


  4. #4
    Join Date
    Aug 2000
    Location
    Moscow
    Posts
    85

    Re: SSTab control

    Hello
    You should place SSTab1, SSTab2 and SSTab3 on the same place.
    Vitaly
    [email protected]




  5. #5
    Join Date
    Nov 2000
    Location
    India
    Posts
    4

    Re: SSTab control

    draw all three sstabs on form.hide 2 and 3.
    then on menu click set the properties(sstab.left and sstab.top) to that of 1.hide 1 and 3.or use zorder property.it will work i hope so.


  6. #6
    Join Date
    Aug 1999
    Posts
    28

    Re: SSTab control

    Place all 3 tabs on top of one another.

    If you want to work on each tab then right click, choose "Send To Back" until you get the tab you want to work on,

    I hope this is what you were trying to get across.


  7. #7
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: SSTab control

    you draw them on FormMain at different locations. Make them invisible then at run time when you need them, move them to where you want them and make them visible.

    John G

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

Featured