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

Thread: tabpage-like

  1. #1
    Join Date
    Feb 2009
    Posts
    8

    Question tabpage-like

    Is there an easy way to display different panels and their child controls at the same position on the winform
    Each panel and its child controls will be shown by clicking different buttons

    {this way all the buttons act like tabpage header and each panel is the tabpage itself}

    Thanks
    It's the origin of W on earth -Rasble

  2. #2
    Join Date
    Feb 2009
    Posts
    5

    Re: tabpage-like

    Simpler ? Idon't know
    they can be set to false or true for their visibility once a button is clicked

    You are welcome!
    Bye!

  3. #3
    Join Date
    Mar 2004
    Location
    33°11'18.10"N 96°45'20.28"W
    Posts
    1,808

    Re: tabpage-like

    Check this out: http://homepage.ntlworld.com/mdaudi1...te/custom.html

    second control on the page.

  4. #4
    Join Date
    Mar 2005
    Location
    Vienna, Austria
    Posts
    4,538

    Re: tabpage-like

    Simple use different panels all in the same size, and prepare them just as you need addig childs to them .... , then change the panles location so they all have the same left/top position.
    klicking your buttons simple change visibility of the panels.

    My Question is: WHY ??? Tab Controls are nice and have all your needs included.

    Additional you will get a user nterface which has a known outfit and people will feel comfortable in using it.

    All the times trying to build 'my own personal outfit' sometimes leads to UI that are diffficult to handle andcouldn't be used without a long helpfile. UI's should always be some sort of selfexplaining
    Jonny Poet

    To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
    Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
    If anyone felt he has got help, show it in rating the post.
    Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
    My latest articles :
    Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7

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