2

I am using docking (VCL) in Delphi 7. In my main form, two other forms are docked: One vertically at the left edge, one horizontally at the bottom edge.

Problem: The form docked at the bottom edge takes the full width of the form, limiting the height of the form that is docked at the left edge.

I would like the opposite behaviour: The vertically docked form taking full height of the form and form docked at the bottom to be restricted in width.

That's how it looks like currently:

http://www.neunbeere.de/ExtRef/Dock1.PNG

That's how I want it to look like:

http://www.neunbeere.de/ExtRef/Dock2.PNG

Thanks

4

1 回答 1

2

Use panels to contain your components/forms/other panels, and build the interface from there.

In this case, put the two right-hand side forms (green and yellow) on a single panel, the green onne aligned "client", and the red one aligned "bottom" within the panel, and align the parent panel as "client". Align the red form as "left".

于 2010-03-24T19:09:51.753 回答