Subject Re: [IBO] TIB_Grid RowSelect retrieve list of selected values
Author radevojvodic
This way i'm getting a list of HEX values not the actual values of
the ID. How can I get a list of values stored in the ID field for
the rows listed in SelectedBookmark

Rade.
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
> At 09:36 AM 29/06/2004 +0000, you wrote:
> >Hi all,
> >
> >Does anyone know how to retrieve a list of selected rows in a
> >TIB_Grid. I have a situation where i want to select more then one
> >row in a grid (rowselect= true) and after that i want to put the
> >list of selected values in ID column to TIB_Edit. My grid has ID
> >and Description Columns and selection of more then one row is
> >working fine. For example I select rows where ID is 1,5,7. How
can i
> >send that list to TIB_Edit.
>
> Assuming the ID column is the KeyLinks value of the dataset, IBO
has
> already encapsulated that for you with SelectedBookmarks. Assign
> SelectedBookmarks to a TStringlist and then read its CommaText
property.
>
> Helen