
Help: DBGrid - how to make DBGrid.row = current row when I click the a cell
Hi there,
I tried to show the content of a cell when I click the cell in a
DBGrid. The following is my code:
MsgBox
DBGrid1.Columns(DBGrid1.Col).CellText(DBGrid1.RowBookmark(DBGrid1.Row))
But the msgbox only shows the cell content of the previous click.
Anyway to make the dbgrid1.col and dbgrid1.row become the current row
and col at the click moment????
Many thanks!!
Tasman :(