Subject | Re: Delete bookmarks |
---|---|
Author | Hugo |
Post date | 2002-09-26T05:39:57Z |
Toni,
you can call directly:
(TIB_Query*)qry.SelectAll(false);
Salut,
Hugo.
P.D. molt més senzill, no?
you can call directly:
(TIB_Query*)qry.SelectAll(false);
Salut,
Hugo.
P.D. molt més senzill, no?
> Date: Wed, 25 Sep 2002 22:13:28 -0300
> From: "Luiz" <cprmlao@...>
> Subject: Re: Detete bookmars
>
> 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
>