Results 1 to 24 of 24

Thread: Tabless Tab Control

Threaded View

  1. #1

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    Tabless Tab Control

    Did you ever came across situations where you wanted to develop interfaces like in below images.





    In some of my projects I wanted to develop UI like the images displayed below, in some projects I needed a wizard interface where in I just wanted to hide tab headings and display the appropriate tabs when needed.

    When I thought about such interface, the first control that came in mind was obviously Tab Control that comes with .NET by default. But there no property to hide tab headings in Tab Control. After some digging I managed to remove the tab headings but the result was not up to my expectations. So I started to find out alternatives and came across this website.

    Author Mick Doherty has posted a custom control which helped me to design the interface that I imagined. He call the control as PanelManager.



    It works somewhat like Tab Control but doesn't has tab headings. When you drop PanelManager on the form in design mode then it contains two panels by default. Once the PanelManager is dropped on the form you can design the UI just like we do in Tab control. You can then change the current panel through SelectedPanel property from property browser. To change the selected panel from coding use SelectedIndex property.

    Code of the PanelManager control is too long to post it here so I am uploading it as a file. Please find PanelManager.vb in attached files. Note that you'll need to add a reference to System.Design.dll. Once you compile the control it becomes available in Toolbox.
    Attached Images Attached Images    
    Attached Files Attached Files

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