Subject Re: [IBO] TIB_Grid: Number of selected rows?
Author Mario Zimmermann
--- In IBObjects@y..., Harald Klomann <nibler@t...> wrote:
> mario.zimmermann@o... wrote:
> >
> >
> > How can I simply determine the number of selected rows?
> >
>
> Mario,
>
> i use following code for this :
>
> MyStringList.Clear;
> IB_Query.SelectedBookmarks(MyStringList);
> if MyStringList.Count >0 then ..........

Yes, that's the way I do it but I think that's a bit oversized :-)

What about performance if lots of rows are selected? To update my
status bar, I call this function for every click on the grid...

Mario