I have a problem with the ultra splitter control. On a form I have placed three ultraexpandablegroupboxes seperating each with an ultrasplitter. This all works as desired and the splitters enable me to resize the controls at runtime which is great. However the problem occurs if you try and make a control larger, and the area of all three controls becomes larger than the area of the form. Something in the splittercontrol prevents me from doing this, even though autoscroll is set to true on the form.
I have looked at the ultrasplitter_SplitterDragging event and there is the event arguemen:
MaxTargetExtent
Which seems to be controlling this behaviour. Is there anyway to overide this, thus allowing the controls to become larger than the form and the user be able use a scroll bar to see them.
If you have any questions, please do not hesistate to ask.
Hi,
I`m not sure that I understand well your scenario, but maybe one possible way to achieve desired behavior could be if you are using UltraScrollBars. Could you please take a look at the attached sample and video file for more details and let me know if you have any questions. If you think that I misunderstood your scenario, please feel free to modify this sample to reprpduce your issue and revert it back to me. I`ll be glad to research your issue.
Regards
Hi, I'm having the exact same issue with the UltraSplitter, sample attached. VS2008, WinForms 10.2 (version 10.2.20102.2151)
Same scenario: Simple Form, three UltraExpandableGroupBoxes, two UltraSplitters (one between each group box).
When the containing Form first starts up the controls are the correct startup size and scrollbars are enabled. When an UltraExpandableGroupBox is resized using the Splitter it is using the size of the container (in this case the Form) to determine the max size of the control being resized, even though scrolling is enabled (Form.AutoScroll == true).
Is there any way for the UltraSplitter to take container scrolling into consideration?
Many thanks.
Bumping this thread to see if we can get any additional help. I'm running into the same issue - and it sucks...
Take a look on attached sample with one possible solution.
Let me know if you have any questions
Sample
Hi
The mentioned issue is expected for UltraSplitter and UltraExpandableGroupBox, because these controls could be resize in the parent controls container. Maybe one possible way to solve this task, could be if you implement additional panel in the form. After that, depending of end-users actions, you could calculate the size of this panel. By this way, you will provide enough space for all controls in ultraPanel1.ClientArea.Controls collection. I made small modification in the sample from forum thread. Please take a look on attached sample and video file for more details.
If you have any questions, feel free to write me