comboy
Instructor
- May 23, 2003
- 226
Hi all,
I have a mdi form which currently has two child forms that are loaded from the menu of the mdi.
The problem is that when I open the mdi and load either of the child forms for the first time it is positioned correctly at the top of the screen under the toolbar of the mdi.
However when I unload then reload the form (either one) the form opens a couple of cm from the top. Each time I umload and reload the form(s) they move down the screen until they eventually appear at the correct position and the process starts again. There is no code etc in the forms resize event.
I've tried changing the forms from sizeable to dialod etc, and making their startup position to full screen which makes the form flicker before they appear on full screen.
Has anyone any idea how I can make the forms always appear in the correct position and if on full screen to stop flickering from standard size to full screen.
I'm training today but will check my mail when I can, thanks in advance for any ideas etc.
Graham
I have a mdi form which currently has two child forms that are loaded from the menu of the mdi.
The problem is that when I open the mdi and load either of the child forms for the first time it is positioned correctly at the top of the screen under the toolbar of the mdi.
However when I unload then reload the form (either one) the form opens a couple of cm from the top. Each time I umload and reload the form(s) they move down the screen until they eventually appear at the correct position and the process starts again. There is no code etc in the forms resize event.
I've tried changing the forms from sizeable to dialod etc, and making their startup position to full screen which makes the form flicker before they appear on full screen.
Has anyone any idea how I can make the forms always appear in the correct position and if on full screen to stop flickering from standard size to full screen.
I'm training today but will check my mail when I can, thanks in advance for any ideas etc.
Graham