Sign in Join
FPDoc Onlineexperiment

TCustomGrid.ColRowToOffset function

Member of TCustomGridprotectedIn unit Grids

Converts a column or row index to starting and ending pixels coordinates.

Declaration

pascal
function ColRowToOffset(IsCol: Boolean; Relative: Boolean; 
 Index: Integer; out StartPos: Integer; 
 out EndPos: Integer): Boolean

Arguments

IsColTrue when the index is for a column in the grid, False for a row.
Relative
Index

Ordinal position for the column or row.

StartPos

Position where the column or row starts (pixel).

EndPos

Position where the column or row ends (pixel).

Function result

True if a column or row exists for the specified index.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.