Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2745
WinExplorerbar - best practice of arranging panels
posted

Hello!

I have placed an explorerbar together with a few panels onform. What I want to do is to show/hide panels depending on
which item that is clicked in the explorer bar. The problem is that the panels dock into each other.

Can someone give me ideas how to deal with that?

Is it better to create a UserControls for all controls included in the panel etc.?

/Henrik

 

Parents
  • 53790
    Verified Answer
    posted

    Hello Henrik,

    If I understand well your requirement, there are many different approaches to solve this task. Maybe one of the easiest solutions, would be if you are using TabControl instead of UserControls or many panels dock into each other. The TabControl is very useful to arrange your application. I made small sample for you. You could choose between option with visible tabs or option with hidden tabs.

    Please take a look on attached sample and video file for more details and if you have any questions, feel free to write me

     

Reply Children