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

TCustomGrid.ColRowDragIndicatorColor

Color used to render the drag cursor when a column or row is dragged in the grid.

Declaration

Source position: grids.pas line 1231

protected property TCustomGrid.ColRowDragIndicatorColor : TColor
  read FColRowDragIndicatorColor
  write SetColRowDragIndicatorColor
  default clRed;

Description

ColRowDragIndicatorColor is a TColor property with the cursor color used when the ColRowDraggingCursor is visible for the grid control. The default value for the property is clRed.

Changing the property value causes the DrawColRowMoving method to be called when the grid state is set to gsColMoving.

ColRowDragIndicatorColor is a published property in descendent classes like: TDrawGrid, TStringGrid, and TDBGrid.

Use ColRowDraggingCursor to specify the cursor shape displayed when a column or row drag operation is active.

Use ColSizingCursor to specify the cursor shape displayed when a column is resized by dragging the border on a column.

See also

TCustomGrid.ColRowDraggingCursor

  

Cursor shape displayed when a column or row is dragged in the grid control.

TCustomGrid.ColSizingCursor

  

Cursor shape displayed when a column is resized.

TDrawGrid

  

Implements a custom-drawn grid control.

TStringGrid

  

Implements a grid specialized for textual content.

#lcl.dbgrids.TDBGrid

  

Data-aware grid control used to display and edit rows and columns in a dataset.


Version 3.2 Generated 2024-02-25 Home