Help: DBGrid - how to make DBGrid.row = current row when I click the a cell 
Author Message
 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 :(



Sun, 09 May 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Help: DBGrid - how to make DBGrid.row = current row when I click the a cell

2. Refreshing a single row or cell in a DBGrid

3. Getting cell info from row selected in DBGrid...

4. DBGrid - Current Row and events?

5. Current Row Number in dbGrid

6. Current Row in DBGrid?

7. current row; DBGrid

8. value of current DBGrid row/column?

9. Selecting Multiple Rows in DBGrid and Sheridan DBGrid

10. Selecting Multiple Rows in DBGrid and Sheridan DBGrid

11. Current row; DBGrid

12. Dbgrid clicking on a row and filling teksboxes ...;

 

 
Powered by phpBB® Forum Software