Programmer's Guide > Interfaces > Window interface > enableDocking method
  
enableDocking method
Specifies the edges of the main window this window is allowed to dock to.
enableDocking(dockEnabled )
Parameters
DockEnableddockEnabled
The edges of the main window this window is allowed to dock to.
Returns
void
Throws
WindowException
NO_DOCKING_ALLOWED_ERR: Raised if the window is not dockable.