Got a weird issue and not sure what gives.
Using StringGrid.
I have 1 fixed row (header) - 3 Columns (one is Grid Button)
2 Rows of actual data
When using the grid button, it returns the data fine of the appropriate row data.
But when using event "OnSelectCell"
It retuns the wrong data.
So, if I click on a cell in row 1, it teturns data from row 2
And visa-versa - Returns data from row 1 if I click on cell in row two.
Again... using same code, it works fine on the grid button
CODE:
lbStatus.Caption:=StringGrid1.Cells[2,StringGrid1.Row]+ '\';
What is going on?
Thanks for any help.