Vcl.Controls.TControl.DefaultDockImage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DefaultDockImage(DragDockObject: TDragDockObject; Erase: Boolean); dynamic;

C++

DYNAMIC void __fastcall DefaultDockImage(TDragDockObject* DragDockObject, bool Erase);

Properties

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

Description

Handles the painting and erasing of a dock image.

The DrawDragDockImage and EraseDragDockImage methods call DefaultDockImage to paint or erase the drag image of a control while the user drags it in a drag-and-dock operation.

DragDockObject contains the drag-and-dock information for the control.

Erase specifies whether to draw or erase the image.

See Also