Hi all,
I have a question regarding the WinSplitter control.
If I understood the docs right the splitter collapses the panel that has the same docking as the splitter.
So a main-panel hosts the first panel docked bottom, then the splitter docked bottom and last another panel docked Fill.
In this case the panel that is docked bottom gets collapsed.
So far so good, but I am unable to change this to make the top panel gets collapsed.Even if I undock all panels and then redock them in the right order it does not work.
The only solution I figured out was to remove the hostin panels (top, bottom) and the splitter and then start over again docking the top panel first, then the splitter (dock top) and last the panel that gets docked Fill.
Even if I undock them all, remove the splitter, move the panels out of the main panel and try over again I can not archive what I wanted, invert the collapsed panel...
Is there a solution for this problem I am missing?
any help is kindly appreciated.
best regards
Andy
Hi Andy,
Thank you. I am very glad to hear that you were able to solve this issue and to see such great feedback with screenshots and explanations from your side.
Please do not hesitate to contact me in the future with any kind of questions.
Hi Boris,dude, that was a long way, wasn't it?I never used the "Bring to Front" options on the splitter/panels. Now that I have seen what you are doing in the video and used "Bring to Front" on the panel/splitter everything behaves like I expected it to do and works perfectly fine ;)
I really appreciate your help in this case. This was one of the most amazing support performance I ever witnessed. You people at Infragistics really do a great job :)
Thanks again Boris and have a great weekend,best regardsAndy
Hello Andy,
Thank you for your feedback.
I realized that I might had to make a movie all the way from the creation of the project because you could have get confused by the steps I am showing in the previous movie, I now believe that in this case they are not giving enough information.
It is really my pleasure assisting you for this tricky scenario.
Please let me know if we finally got on the same page here.
Hi Boris,first of all I would like to say thank you for all the efforts. I haven't received a video in the past in order to get my problem fixed, I really appreciate the work you put into this.
I tried to follow the example you showed me in the video. There it works just as I'd like to have it.Unfortunately I am unable to reproduce it.I created some screenshots to show you what happens when I try the steps that are shown in the video.
This shows the main setup:
Here I reproduced changing the docking of the bottom panel from Fill to Bottom.It works just like in the video.
This is what happens when I change the docking of the splitter from Top to Bottom:
I gave it several tries but it never worked out.
Here is what I talked about beeing some "odd behavior"
The top-border of the bottom panel is right below the splitter, just as expected
The borders of the top-panel fill the complete form.This is not happening when creating the setup from scratch.Normally the bottom-border of the top-panel is just right above the splitter.In this case all content that is lower positioned than ultraButton1 (below the splitter) is hidden behind the bottom-panel.
I hope I could clarify my concerns. English is not my mother language, so I sometimes have problems expressing my thoughts ;)
cheers and thanks again,Andy
Could you please watch the movie from this post and let me know if this is good for you and if not - at which point is the odd behavior coming out. If this movie does not represent the problem you could try to send me a movie which is showing the mentioned behavior as I am already a bit confused about the things you are explaining.