Subject Re: [IBO] Deselecting rows in TIB_GRID
Author Lucas Franzen
Russell Belding schrieb:
>
> Hello Jason
>
> Using IBO4.2Ib.
>
> A. TIB_GRID Deselection of multiple rows.
>
> After multiple rows are selected in a TIB_Grid, as far as I
> can tell, the only way to deselect them using the grid interface is to close
> the form containing the grid.

How about:

if you've got a IB_Query connected the DataSource of the IB_Grid you can
use:

IB_Query.SelectAll ( FALSE );

to deselect ALL rows.

From the helpfile:

SelectAll method
Applies to: TIB_BDataset

Declaration: Procedure SelectAll(State: boolean );
Description:
Method to force the Selected state of all rows in the dataset to True or
False.
IBO applies this method to all rows, whether they have so far been
fetched into the dataset yet or not.


Luc.