Subject Re: [IBO] Detete bookmars
Author Luiz
Toni,

What about:

var Lista:TStringList;
i:Longint;
begin
Lista:=TStringList.Create;
try
with qry do begin
SelectedBookMarks(Lista);
for i:= 0 to Lista.Count-1 do begin
Bookmark:=Lista[i];
Selected[RowNum]:=False;
end;
end;
finally
Lista.free;
IB_Grid.Invalidate;
qry.RefreshKeys;
end;


Luiz.

----- Original Message -----
From: <antoni.aloy@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, September 25, 2002 9:00 AM
Subject: [IBO] Detete bookmars


> Hi!
>
> I use bookmarks as said in the FAQ to select records from a IBDBGrid and
> copy them to another table.
>
> The problem is how to remove the bookmarks, as the table rows remain
> hightlighted.
>
> ---
> Toni