title: How do I make dockable forms like the IDE's without the very slow freezing movement of the dockable form?
body: <p>How do I do the IDE method or eventually make the basic dock method without the very slow freezing movement of the dockable form?</p>
  
  <p>When I Googled for dockable forms in Delphi and found <a href="http://www.programmersheaven.com/mb/delphikylix/257324/257347/re-dock-able-mdi-form-programming/?S=B10000" rel="nofollow noreferrer">a post by Zibadian on Programmers Heaven</a>:</p>
  
  <blockquote>
    <p>First off: The windows in the Delphi IDE aren't MDI forms, by SDI forms.</p>
    
    <p>Now to create a dockable window.</p>
    
    <p>Form2 will be dockable and Form1 will be the place to dock it to. Place a control (such     as a TPanel) on Form1 to serve a DockSite. Make sure that you set the DockSite and the UseDockManager properties to true for that control.</p>
    
    <p>For Form2 set the DragKind to dkDrop, the DragMode to dmAutomatic and UseDockManager to true.</p>
    
    <p>That was the basic dock function. If you run your program, show the Form2 and drag that form over the docksite, it should dock at that site. You can even undock it by grabbing the "caption" as you have seen in the IDE.</p>
  </blockquote>
  
  <p>For me, that method moves the dockable form very slowly. However, Zibadian's answer continues to describe how the IDE does it instead:</p>
  
  <blockquote>
    <p>The dock-method of the IDE is a little more complex, since you don't see the docksite. I think, you need to write a Form1.OnDockOver or Form1.OnDockDrop to perform that. That (Those) event(s) need to show the docksite at the appropriate location.</p>
  </blockquote>