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

I have used this way because I need execute some actions before deselect
each record.
I never needed to use SelectAll(False). But, I believe you are sure.
So, I only did a copy and past from one app to show a way to do it.

Luiz.

----- Original Message -----
From: "Jason Wharton" <jwharton@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, September 26, 2002 3:30 PM
Subject: Re: [IBO] Detete bookmars


> No, just deselect them using the method SelectAll( false );
> Perhaps I'm missing something. If so, disregard.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
> -- We may not have it all together --
> -- But together we have it all --
>
>
> ----- Original Message -----
> From: "Luiz" <cprmlao@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Wednesday, September 25, 2002 6:13 PM
> Subject: Re: [IBO] 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.