Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Docking two dockpanels together (without docksite)

edited January 2015 in LMD-Tools Vote Up0Vote Down
Please is there a proper way of docking two 'normal' dockpanel to each other? (so then, they move together by grabbing any of the dockpanel's caption). Thank You.

Should i use a docksite for this?

Comments

  • 2 Comments sorted by Votes Date Added
  • Hi,

    You should make one of the panels floating using ManualFloat standard VCL method. Actually, after this, panel's parent form with the site on it will bve created automatically.

    So, then, you can acces this implicitly created site via Panel1.Site property, and so, you will be able to dock another one panel into it, using Panel.1Site.DockControl(Panel2, ...) method.

    Eugene,
    LMD-Innovative.
Sign In or Register to comment.