Column values of all selected rows in AdvDBGri

Hello:


I currently have an AdvDBGrid with goRangeSelect=True, that is populated by a Temporal dataset.
I would like to know how to read in specific column values of all selected rows in the AdvDBGrid.
With a regular DBGrid I usually use the following code:

DBGrid1.SelectedRows.Items[i];

But the AdvDBGrid has not this property

Thanks for your help

When goRangeSelect = true, 
the coordinates or selected rows can be retrieved with grid.Selection:TGridRect

Thanks Nancy.

How can I implement this function?
Is there a demo?

Please see the demo ADOSelection in the DBAdvGrid samples folder.

Thanks

It works fine.

And here is the code:


procedure TForm1.Button1Click(Sender: TObjec);
var
I, K: Integer;
BM: TBookMarkStr;
begin
Listbox1.Items.Clear;
if (Temporal.Active) and not(Temporal.IsEmpty) then
begin
BM:= Temporal.Bookmark;
Temporal.DisableControls;
end;
for I := 0 to DBAdvGrid1.SelectedRowCount -1 do
begin
Temporal.MoveBy(I);
Listbox1.Items.Add(Temporal.FieldByName('StudyInstance').AsString);
Temporal.Bookmark:= BM;
end;
Temporal.EnableControls;
end;

Thanks again