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
170
Horizontal docking of 4 controls
posted

Hello all,

I have got a big problem and I hope that someone can help me.
Searching in this forum for my special problem was not sucessfully and the tutorial from the WinDockManager couldn't help me.

 My problem in 2 ASCII-pictures:

smale form of the .NET(vb) 2003: 

|--------------------------------------------------|
|UltraWingrid1                              |
|                                                  |
|--------------------------------------------------|
|GroupBox with some buttons        |
|--------------------------------------------------|
|UltraWinGrid2                              |
|                                                  |
|--------------------------------------------------|
|GroupBox with some buttons        |
|--------------------------------------------------|

 

 

enlarged form of the .NET(vb) 2003:

|------------------------------------------------------------|
|UltraWingrid1                                         |
|                                                            |
|                                                            |
|                                                            |
|                                                            |
|------------------------------------------------------------|
|GroupBox with some buttons                  |
|------------------------------------------------------------|
|UltraWinGrid2                                        |
|                                                            |
|                                                            |
|                                                            |
|                                                            |
|------------------------------------------------------------|
|GroupBox with some buttons                  |
|------------------------------------------------------------|

 

Like you can see it should only enlarge the 2 UltraWinGrids and not the Groupboxes with the buttons included.
 I couldn't get it with the normal windows dockin/Anchor system and also not with the WinDockManager.

It would be very nice if someone can help me or post me a link where these problem is shown.

 

greetings Marc 

Parents
No Data
Reply
  • 44743
    posted

    You can use the UltraDockManager and dock the controls in a horizontal split group. Then you can set the MaximumSize of the panes hosting the group boxes so they don't increase past a certain size.

    You can also use nested SplitContainers and try to play with the FixedPanel properties of each container to specify which panels should remain the same size when the container is resized.

Children
No Data