Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.ManualFloat

Undocks the control into the floating state.

Declaration

Source position: controls.pp line 1548

public function TControl.ManualFloat(

  TheScreenRect: TRect;

  KeepDockSiteSize: Boolean = True

):Boolean; virtual;

Arguments

TheScreenRect

  

The screen area where the floating control is moved; or the client area for a floating host site.

Function result

True if successfully floated.

Description

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



CT Web help

CodeTyphon Studio