How to get Current cell's row and column number of a DBGrid? lazarus / 16-Databases ---------------------------------------------------------------------- Elmug · 2012-07-24 12:42 Hi everyone, In trying to do an equivalent of OnCellEntered, I would appreciate help on how to get: For the DBGrid (Or DataSet?): 1. The current cell's column number 2. The current cell's row number I've searched much already, and don't seem to get some clear way out, so far. Thanks for any help afforded. ---------------------------------------------------------------------- paweld · 2012-07-24 13:00 Code: [Select]DBGrid1.SelectedIndex; //column DBGrid1.DataSource.DataSet.RecNo; //row ---------------------------------------------------------------------- Elmug · 2012-07-24 22:50 Quote from: paweld on July 24, 2012, 03:00:18 pmCode: [Select]DBGrid1.SelectedIndex; //column DBGrid1.DataSource.DataSet.RecNo; //row Thank you paweld. I will try this out right today.