Nafees
Nafees

Reputation: 31

Delphi: MDI window underlapping

I am trying to create an MDI interface in my application, I am using Delphi XE2. I have a TTreeView on the left side, a TMenu (Of course on the top.) and thats all there is in the MDIParent window. Now here is where the problem shows up: The MDI Child window is created, but it is under-lappping(opposite of "Over-Lapping") the TTreeView, and this isn't the only problem, If the I maximize it, a portion of it will go under the TTreeView! And if you want the code I am using to create the MDI Childs, Here it is:

TSprEditorForm.Create(Application);

Any help will be greatly appreciated.

EDIT: Here is how it looks like: http://s5.postimg.org/v82qe9s2f/bg1.png http://s5.postimg.org/c49exxf87/bg2.png

Upvotes: 0

Views: 181

Answers (1)

NGLN
NGLN

Reputation: 43649

Set the Align property of the TreeView to alLeft.

Upvotes: 4

Related Questions