I use a stringgrid and a combobox.
for the stringgrid, I have query data set like
surname, a, b
surname is string, a, b are integer
I may add
cells[i, j] := surname;
for the combobox, I have query data set like
firstName, a, b
firstname is string, a, b are integer
I want to add a, b into stringgrid and combobox items as objects.
So the statements above should change to
after added these object
I need to write a loop to find the mathch objects between that in combobox and that in stringgrid.
so how can I add object to stringgrid and combobox?
and how can I compare the object in the combobox and in the stringgrid?