Subject | Re: [IBO] Multi select |
---|---|
Author | Dany M |
Post date | 2006-10-27T12:19:32Z |
Alan McDonald wrote:
Be ware that it will only work on "visible" records in a detail.
There also seems to be:
procedure TIB_BDataset.ToggleSelected; and
procedure TIB_BDataset.SelectRange( StartRow, EndRow: longint;
State, Exclusive: boolean );
I haven't used the latter ones.
/Dany
> Does anyone know the method to clear the rfSelected flags?dataSet.SelectAll(State: Boolean)
> the SelectedBookMarks method fills the stringlist.
> You can then for loop through the bookmarks dealing with the records in
> whatever manner you wish.
> But how do you either clear the selected rows in one method or individually
> as you go.
> Otherwise the the grid is left with selected records whic users find
> annoying.
> I've tried to set RowFlags directly but its readonly.
Be ware that it will only work on "visible" records in a detail.
There also seems to be:
procedure TIB_BDataset.ToggleSelected; and
procedure TIB_BDataset.SelectRange( StartRow, EndRow: longint;
State, Exclusive: boolean );
I haven't used the latter ones.
/Dany