Subject Re: [IBO] TIB_GRID - Get list of multiselected rows?
Author Jason Wharton
I understand your complaint. There are always trade-offs and I chose that it
was more important to have that information stored in the dataset. For you,
its easy to simply use two different datasets but the other benefits I
pick-up there is no easy workaround to accomplish them.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com

-- We may not have it all together --
-- But together we have it all --


----- Original Message -----
From: "Nando Dessena" <nandod@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, August 16, 2002 11:28 AM
Subject: Re: [IBO] TIB_GRID - Get list of multiselected rows?


> Helen,
>
> > "Use the data, Luke, use the data!"
> >
> > IBO's controls are driven by the data, not the reverse as in the Delphi
> > VCL. So iterate through the Dataset's SelectedBookmarks property - it's
a
> > TStrings containing the KeyLinks values of each of the selected rows.
>
> which makes it impossible to have two grids linked to the same dataset
> with different sets of selected rows; I do understand a data-centric
> approach, but selecting rows is a visual control thing, not data.
> I think I run into this limitation only one time, and workarounds exist,
> but this doesn't mean I find it pleasant from a stylistic POV. :-)
> --
> ____
> _/\/ando