Hi,
It seems to be a resize problem with the ultragroupbox. If the groupbox is resized during startup, its childcontrols does not resize if they are anchored or docked.
Steps to reproduce:
1. Change the windowstate property of the form to Maximized (this will cause a resize during startup).
2. Place an ultragroupbox on the form. Change its Anchor to Left, Right, Top and bottom.
3. Place an ultratexteditor (or a standard textbox) in the groupbox. Change the dock property of the textbox to fill. Change the multiline property of the textbox to true. The textbox is now filling the entire groupbox and should do this all time.
Now run the application and see that the textbox is not filling the groupbox. If the form is resized later on the groupbox and its childcontrols resize correctly.
I have forwarded this issue to Developer Support so that the issue can be written up as a bug and looked into, since it seems that this problem does not occur with the .NET GroupBox.
-Matt
Hi Matt,
I was wondering if there has been any confirmation that this is indeed an issue. We're seeing something very similar.
Created a user control that contains a Docked=Fill UltraGroupBox. Inside the group box is an UltraGrid anchored on all four sides. When the form containing the user control is loaded (MDI form), the user control and group box fill the appropriate space, but the grid stays at its original size. When I resize the form, the grid jumps to its correct size.
Regards,
Jim
Guys,
I can also confirm that we have this problem. I also did not see that setting height and width instead would be of any help...
kind regards, Florian
Thanks Emil.
I guess my next question is how long before we can expect a patch. We have this scenario in a lot of places in our app. It seems to have started with HotFix_2068.
Thanks,
Yes, it's been marked with in development.