Incorrect Owner Form of DockForm and OverlayForm
Brought to you by:
konne,
mr_circuit
An application opens a child window.
This child window contains a DockManager.
A DockWindow is shown on this child but without being Docked (floating window).
The user has the possibility to move the DockWindow and drop it somewhere to dock it.
Unfortunately, the Owner window of the DockWindow has not been set correctly.
It is very embarrassing because the child windows is sometimes displayed in the backgroud (behind the other windows).
This happens because Application.OpenForms[0] is used at different places in the code.
The index [0] should probably not been used.
Thank you very much for your appreciated work.
The TOUCHCAST team.