Vcl.Controls.TControl.GetFloating

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetFloating: Boolean; virtual;

C++

virtual bool __fastcall GetFloating();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Returns the value of the Floating property.

GetFloating is the implementation of the read-only Floating property. GetFloating returns true if the HostDockSite property is either nil (Delphi) or NULL (C++), or of type FloatingDockSiteClass.

Override this method to change the way a control determines if it is floating.

See Also