SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Get DBGrid's column/record number

Use Column.Index for getting number of column and Table1.RecNo for getting number of record.
Use it for onDBGridCellClick event. Don't forget that first Column.Index is 0.

procedure TForm1.DBGrid1CellClick(Column: TColumn);
    'Column number - '+IntToStr(Column.Index)+
    '   Record number - '+IntToStr(Table1.RecNo));
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes