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

TCustomGrid.ColRow

Provides access to current column and row numbers as a TPoint instance.

Declaration

Source position: grids.pas line 1230

protected property TCustomGrid.ColRow : TPoint
  read GetQuickColRow
  write SetQuickColRow;

Description

ColRow is a TPoint property used to provide access to the current values at the position specified in Col and Row. The X member in TPoint is used for the value in the Col property. The Y member in TPoint is used for the value in the Row property.

Setting the value for the causes the CheckLimitsWithError method to be called for the X and Y values when AllowOutboundEvents is False. The SetColRow method is called to update the values in the Col and Row properties.

See also

TCustomGrid.CheckLimitsWithError

  

Checks column and row limits for the specified cell, with error trapping.

TCustomGrid.SetColRow

  

Makes the specified column and row a selected cell in the grid control.

TCustomGrid.AllowOutboundEvents

  

Allows a mouse click on unused space in the control, and moves the cursor to the nearest valid cell.


Version 4.0 Generated 2025-05-03 Home