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

TDragDockObject

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: controls.pp line 413

type TDragDockObject = class(TDragObject)

protected

  procedure AdjustDockRect(); virtual;

  

AdjustDockRect - adjust the position into which docking is to be performed

  function GetDragCursor(); override;

  

GetDragCursor - returns the cursor for use during dragging

  procedure EndDrag(); override;

  

EndDrag - method for terminating drag of nominated object at specified location

  procedure InitDock(); virtual;

  procedure ShowDockImage; virtual;

  procedure HideDockImage; virtual;

  procedure MoveDockImage; virtual;

public

  property DockOffset: TPoint; [rw]

  

AdjustDockRect - the position for offsetting the dock point

  property DockRect: TRect; [rw]

  

DockRect - the rectangle within which docking is to occur

  property DropAlign: TAlign; [rw]

  

DropAlign - the way in which the dropped object is to be aligned (top, left etc)

  property DropOnControl: TControl; [rw]

  

DropOnControl - the control on which the dragged object is to be dropped

  property Floating: Boolean; [rw]

  

Determines whether object is Floating or free (not attached to anything)

  property IncreaseDockArea: Boolean; [r]

  

IncreaseDockArea - determine whether the area for docking is allowed to be enlarged

  property EraseDockRect: TRect; [rw]

  

EraseDockRect - remove the rectangle that was used for docking

end;

Inheritance

TDragDockObject

  

|

TDragObject

  

TDragObject - the base class for many objects that are designed to be dragged and dropped

|

TObject