I have a VB6 app with an MSFlexgrid control.
The first row (index 0) is a fixedrow and I use it for column headers.
However, when I dbl click on that physical first row (a fixed row - index 0)) on any column, grid.row always returns "1" rather than "0". When I click ON the physcial second row (non-fixed, index 1), grid.row also returns "1".
It appears that the dbl click event cannot be accurately fired on a fixed row. Is this correct?
I need to know wheter a user has clicked on the physical first row (fixed - index 0) so I can launch the sort routine, or has clicked on the physcial second row of data (index 1).
Hope this makes sense, and if so, anyone have any ideas on how to get the dbl click event in an MSflexgrid to fire properly (that is, return the row if the dbl click occurs on a fixed row)?
Thanks,
JBG
The first row (index 0) is a fixedrow and I use it for column headers.
However, when I dbl click on that physical first row (a fixed row - index 0)) on any column, grid.row always returns "1" rather than "0". When I click ON the physcial second row (non-fixed, index 1), grid.row also returns "1".
It appears that the dbl click event cannot be accurately fired on a fixed row. Is this correct?
I need to know wheter a user has clicked on the physical first row (fixed - index 0) so I can launch the sort routine, or has clicked on the physcial second row of data (index 1).
Hope this makes sense, and if so, anyone have any ideas on how to get the dbl click event in an MSflexgrid to fire properly (that is, return the row if the dbl click occurs on a fixed row)?
Thanks,
JBG