Click to See Complete Forum and Search --> : DBGrid


GeorgeT
May 1st, 2003, 01:27 PM
Could you help me to find out what event I can use to get value of the row of a DBgrid control on click event. Thanks

wpilcher
May 5th, 2003, 10:51 AM
add 'currentcellchanged' event to your datagrid.

then:

dg.currentcell.rownumber will give you the row

wpilcher
May 5th, 2003, 01:01 PM
datagrid1.currentRowIndex will also give you the row.