Returning row number problem with MSHFlexgrid
Posted on 2003-03-27
I am trying to bold the text of the cell which is clicked upon in an MSHFlexgrid. The .row is being returned wrong though.
If I click on the 2nd row, it says .row = 1 when it should be 2.
If I click on the 3nd row, it says .row = 2 when it should be 3.
If I click on the 1st row, it tells me that the .row value is whatever the .row value was the last time I clicked on a cell when it should be 1.
I have one fixed row at the top and two columns.
I know the rows start at zero and this is not the problem. I assume there is a problem with the way I am setting up the flexgrid.
Has anyone any ideas where I'm going wrong?
Thanks for any help!