bjuer,
die hab ich in delphihelp gefunden :
Code:
TCustomGrid.Selection
Indicates the boundaries of the current selection.
type TGridCoord = record
X: Longint;
Y: Longint;
end;
type TGridRect = record
caseIntegerof
0: (Left, Top, Right, Bottom: Longint);
1: (TopLeft, BottomRight: TGridCoord);
end;
property Selection: TGridRect;
Description
Set Selection to select a range of cells in the grid. Selection can either represent the first column, first row, last column and last row in the grid, or the row and column coordinates of the upper left and bottom right cells in the selected region.
Selection can only indicate more than one cell when Options includes goRangeSelect.
vielleichtist das was du suchst, hatte leider noch nicht die zeit zum testen!
cu
[Edit=Sakura]BBCode aktiviert [/Edit]