G
Guest
Hi. I have been trying unsuccessfully to resize an MDI child form to fit
exactly into the MDIParent and cover the whole of the ClientRectangle.
All code that I have written using the ClientRectangle shows the child form
as a bit to big and the MDI displayes scroll bars. .ClientSize.Width and
..ClientSize.height seem to return larger values than the Client area really
is.
Docking, which does give the correct result. is not an alternative as the
displayed child form cannot then be manipulated by the user to other
positions in the MDI client area.
Help would be appreciated.
exactly into the MDIParent and cover the whole of the ClientRectangle.
All code that I have written using the ClientRectangle shows the child form
as a bit to big and the MDI displayes scroll bars. .ClientSize.Width and
..ClientSize.height seem to return larger values than the Client area really
is.
Docking, which does give the correct result. is not an alternative as the
displayed child form cannot then be manipulated by the user to other
positions in the MDI client area.
Help would be appreciated.