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

TDragDockObject.EraseDockRect

Area to be erased when refreshing the display for the docking rectangle.

Declaration

Source position: controls.pp line 616

public property TDragDockObject.EraseDockRect : TRect
  read FEraseDockRect
  write FEraseDockRect;

Description

EraseDockRect is a TRect property that represents the area to be erased when redrawing the docking rectangle. The value in EraseDockRect is assigned in InitDock, and updated to contain the value from DockRect when the docking rectangle has been altered in methods like ShowDockImage, HideDockImage, and MoveDockImage.

EraseDockRect is passed as an argument to OnDrawDockImage, and to the underlying widgetset class.

See also

TDragDockObject.DockRect

  

Screen coordinates for a possible drop location.

TDragDockObject.InitDock

  

Initializes the dragging coordinates.

TDragDockObject.ShowDockImage

  

Shows the DockRect, and remembers the coordinates in EraseDockRect.

TDragDockObject.HideDockImage

  

Hides the DockRect, and invalidates EraseDockRect to prevent further erases.

TDragDockObject.MoveDockImage

  

Moves an already visible DockRect.


Version 4.0 Generated 2025-05-03 Home