How to align MDIChild on left?

Posted by lyborko on Stack Overflow See other posts from Stack Overflow or by lyborko
Published on 2010-04-14T15:45:19Z Indexed on 2010/04/14 15:53 UTC
Read the original article Hit count: 320

Filed under:
|

Hi,

I am trying hard to align MDIChild form to the left of the parent MDIForm setting Align:=alLeft at design time. Aparently aligned MDIChild is higher than parents client area (I do not know why), thats why vertical scrollbar appears on parent form. The problem is, that I want this form create dynamicaly; putting vertical Splitter between these MDIchild forms, in order to size them by mouse. But when I create Splitter it aligns itself totaly on the left, as if MDIChild form was not aligned (alLeft) at all.

I set MDIChild parameters to:

Align:=alLeft;
Windowstate:=wsNormal; 
Borderstyle:=bsSizable;

Does anybody solved this problem before?

thanx a lot

P.S Delphi 7, Win XP

© Stack Overflow or respective owner

Related posts about delphi

Related posts about delphi-7