Vcl.ActnCtrls.TCustomActionDockBar.GetSiteInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetSiteInfo(Client: TControl; var InfluenceRect: TRect;  MousePos: TPoint; var CanDock: Boolean); override;

C++

DYNAMIC void __fastcall GetSiteInfo(Vcl::Controls::TControl* Client, System::Types::TRect &InfluenceRect, const System::Types::TPoint &MousePos, bool &CanDock);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ActnCtrls.pas
Vcl.ActnCtrls.hpp
Vcl.ActnCtrls TCustomActionDockBar

Description

Generates an OnGetSiteInfo event.

GetSiteInfo is called automatically during drag-and-dock operations to initialize a TDragDockObject with information about where a dragged object can be docked, if at all.

Client is a potential docking client.

InfluenceRect returns the area in which the client would be docked.

MousePos is the current mouse position.

CanDock returns whether the client can dock to the windowed control.

See Also