Subject Re: [IBO] Selecting multiple rows in TIB_Grid
Author Helen Borrie
Hi Russell,
At 02:44 PM 27-11-02 +1300, you wrote:
>Hello team IBO.
>
>I am using a TIB_Grid and would like to select mulitple rows. If I
>ShiftKey+ mouse.left.click row A and then
>ShiftKey+ mouse.left.click row B
>the rows between and including row A and Row B are selected in blue.

Standard Windows behaviour


>If I CtrlKey+ mouse.left.click on different rows each row is selected in
>blue.

Ditto.


>In the help file (IBO Help 4.2 August 01) I do not see this discussed. Such
>as
>1. how to unselect the rows

Standard Windows behaviour - click on any row outside the selected region.

>2. how to access a list of selected rows.

The SelectedBookmarks property of the dataset returns a stringlist of the
bookmarks (i.e. KeyLinks values) of the selected rows. You can also test
the Selected property to determine whether a particularly Row number is
currently in the set of multi-selected rows.

cheers,
Helen