[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.ManualFloat

Undocks the control into floating state.

Declaration

Source position: controls.pp line 1477

public function TControl.ManualFloat(

  TheScreenRect: TRect;

  KeepDockSiteSize: Boolean = True

):Boolean; virtual;

Arguments

TheScreenRect

  

The screen area where the floating control is moved; the client area of a float host site.

Function result

True if succesfully floated.

Description

TWinControls float for themselves, for TControls a floating host dock site is created, and the control is docked into it.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.