Making a Windowed Control a Docking Site

From RAD Studio
Jump to: navigation, search

Go Up to Implementing Drag and Dock in Controls

To make a windowed control a docking site

  1. Set the DockSite property to True.
  2. If the dock site object should not appear except when it contains a docked client, set its AutoSize property to True. When AutoSize is True, the dock site is sized to 0 until it accepts a child control for docking. Then it resizes to fit around the child control.
  1. Set the DockSite property to true.
  2. If the dock site object should not appear except when it contains a docked client, set its AutoSize property to true. When AutoSize is true, the dock site is sized to 0 until it accepts a child control for docking. Then it resizes to fit around the child control.

See Also