Hello,
We are currently using the UltraExpandableGroupBox control on one of our forms, and are wondering, is there any way for the user to resize the control at runtime, e.g. by dragging with resize arrows, and if not, is there any other panel-type control that will provide this behavior?
Thanks in advance,
Nick Keller
Mercury Media
The quick and dirty custom method involves: 4 controls and some events.
Take your control and attach 4 controls to the corners (they can be anything, or even transparent). Attach events to the controls so that when the mouse is used it simulates window behavior.
Nick,
There is no way that I know of to do this with the groupbox or any panels really. This kind of behavior would need to cause the other controls situated within the same parent to be resized as well, so you'd need some sort of manager. You could probably implement something like this within something like a SplitterPanel or other panel, change the cursor yourself, and implement the logic to resize surrounding controls. However, I'm not sure there's a trivial way to go about this.
-Matt