PDA

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


pies
Mar 24th, 2000, 01:18 AM
I am using the MS DBGrid control and i would like to know which column and row, if possible it is that is currently focused, i have found the procedure RowColChange, but that gives the last Column and row, not the current ones, thanks in advance for any help.
Piers

pardede
Mar 24th, 2000, 02:38 AM
Here are the properties

DBGrid1.Col returns/sets the number of current column (0 based)
DBGrid1.Row returns/sets the number of current row (0 based)

If you need more info on DBGrid, you can find a comprehensive help documentation at www.apexsc.com (the maker of DBGrid)

Hope this helps