when displaying data in a TStringGrid, I want to associate an object
with each row of the grid so that when later use select a certain row, I
can just determine the selected row and then retrieve the associate
object for further processing (e.g. display further information of this
object in some controls).
How do I do that?
Currently, I use OnSelection (Sender: TObject; aCol, aRow: Integer) to
obtain aRow but how do I associate an object with each row?
Thanks.
Dennis
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus