I was debugging a strange problem and I narrowed it down to a Next component library update. I am not exactly sure when or exactly in which Next version but I found out that there is an exit at the begining of TNextDBGrid.GetCellValue. So every call to DBGrid.CellValue[something,something] returns nil instead of the real value:
NxDBGrid.pas from nextcomps5_6-15.zip
function TNextDBGrid.GetCellValue(ACol, ARow: Integer): Variant; var AField: TField; S: WideString; begin exit; Result := Null; ........
What is the reason behind it? And is there any recommended workaround? it seem that cell[] returns the correct value, so does the function when I comment out the mentioned exit.