Subject Re: [IBO] TIB_GRID - Get list of multiselected rows?
Author Helen Borrie (TeamIBO)
At 10:52 AM 16-08-02 +0100, you wrote:
>Hi all,
> I need to be able to iterate thru the multiselected rows in a
>TIB_GRID - is there any way to find out what rows have been selected?
>
>I've searched through all the help files and examples I can find and
>have not found anything obvious to help me - any thoughts or ideas would
>be greatly appreciated!

"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.

Would you please disable your company's automatic message - it makes no
sense in a public listserver. It's just annoying noise.

regards,
Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com