Posted 20 years ago
by Domenico

My layout has 9 toolwindows. When I load it, it takes some second (every toolwindow has to do some work during initialization) and some flickering. So I try to hide the main window with DockForm.Visible=False (or DockForm.Hide) and to show it back to the user when the loading and the initialization is completed.
But I see that the toolwindows aren't in the position I expected. I obtain a different dock order. In particular the first toolwindow is always moved from docked at the top of the control to the middle of the control.
I think it's a problem of timing. If I save a layout with some toolwindow close all the positions are mantained.
If the container is visible everything works.
Does your dock control has a behaviour dependent from the visibility of the container? It is possible that the graphics extra work could interfere with the correct dock order of the toolwindows?
Thanks
But I see that the toolwindows aren't in the position I expected. I obtain a different dock order. In particular the first toolwindow is always moved from docked at the top of the control to the middle of the control.
I think it's a problem of timing. If I save a layout with some toolwindow close all the positions are mantained.
If the container is visible everything works.
Does your dock control has a behaviour dependent from the visibility of the container? It is possible that the graphics extra work could interfere with the correct dock order of the toolwindows?
Thanks