Hi
After update 2009.2 - 2010.2, the DockManager component doesn't work like before.
I have a MDIForm and in the ChildrenForm I have two panels configured like "DockArea Location: Dockedtop" and "Child Pane Style: VerticalSplit".
And other panel with the property "Dock: fill". The property WindowsState in the two forms is configured Maximed.
In the designer, the splitter is in the center of the two panels. In the run-time, in the load of form, the splitter don't is in the center of screen, because of this the left panel width is smaller.
The splitter move correctly after I restore or resize the form.
In the version 2009.2 this not happens, I already tested this. In the run-time, in the load of form, the splitter move for the center of screen, and the two width panel's is equal.
Is there any setting to be made, or is this a bug in component?
Thanks
Patrícia
Hello Att,
I was able to reproduce the mentioned behavior.
It seems that there might be a slight difference in the order of the events that are fired.
I was able to fix this issue by simple refreshing the form. This might be some kind of timing issue. It seems to me that first the form is loaded with the desired sizes of the panels and just after that is maximized.
I was using the following:
Private Sub FormDock_Shown(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Shown Me.Refresh() End Sub
Please let me know if you have any further questions.
Hello
Thanks for the reply
Attached I am sending an example to simulate the problem.
The same code works correctly in version 2009.2. The problem started to happen after the update.
Await response
Att
Hello Patrícia,
I have tried to reproduce this issue unsuccessfully. One thing that I could recommend is upgrading to the latest service release available for your NetAdvantage 2010 vol2 version, and verify the behavior of your project with it.
If you are still able to reproduce the mentioned behavior could you please create a small sample reproducing it and I will be glad to take look at it.
If you have any other questions please do not hesitate to contact us.
Hello,Regarding the problem mentioned above have urgent to resolve because nearly all the screens in my system using the component DockManager.I'm depending on that answer for a new version available to customers.Thanks