Subject | Re: [IBO] Multi rows with IB_Grid |
---|---|
Author | Andrei Luís |
Post date | 2010-01-27T00:57:56Z |
Thanks Andrew, it worked.
Another one: what code do I use to select/unselect a row and what code for
unselect all?
I'd like to select/unselect by double clicking the rows, and I like to put a
button to unselect all that are selected.
Thanks,
Andrei
2010/1/26 Andrew <ahaines@...>
Another one: what code do I use to select/unselect a row and what code for
unselect all?
I'd like to select/unselect by double clicking the rows, and I like to put a
button to unselect all that are selected.
Thanks,
Andrei
2010/1/26 Andrew <ahaines@...>
> On 01/26/2010 06:07 PM, Andrei Luís wrote:[Non-text portions of this message have been removed]
> > How can I retrieve the rows that are multi selected in an IB_Grid?
> >
> > My scenario:
> > In ib_grid, I want to select some cities, and after a button click I want
> to
> > do a select using the cities as where parameter.CityQuery.BufferFirst;
> >
> CityQuery.BufferFirst;
> while not CityQuery.BufferEof do
> begin
> if CityQuery.Selected[CityQuery.BufferRowNum] then
> begin
> //[to do] add city for where clause use
> end;
> CityQuery.BufferNexr;
> end;
>