Results 1 to 2 of 2

Thread: CurrentColumn

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    Leeds
    Posts
    30
    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

  2. #2
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width