Subject RE: [IBO] Selected rows in TIB_GRID
Author akahanek@qgir.cz
Remco,
I am sorry as I am not sitting at my machine and I do not remember all
the method names exactly. You are right, what I mean is the
SelectedBookmarks method. You can populate your TStringlist object with
selected rows bookmarks and then you can iterate through the bookmarks,
locate the related rows by the bookmark and do whatever you need with
the located row (eg. copy its field values to another query).
Ales

> -----Original Message-----
> From: admforum [mailto:remco_kortekaas@...]
> Sent: Tuesday, January 29, 2002 1:57 PM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Selected rows in TIB_GRID
>
>
> Ales,
>
> The closest thing to your hint I found was: 'selectedBookmarks'.
> It isn't clear to me at all how to make use of those bookmarks except
> for the fact the exist within a Stringlist.
>
> I'm trying to create a dialog with two TIB_GRIDS, each showing a
> seperate table. user-selected rows in the first Grid/Table have to be
> inserted in the other (table).
>
> Do you think this Bookmark thing possibly will work (and how)?
>
> Thanks,
> Remco.
> --- In IBObjects@y..., <akahanek@q...> wrote:
> > I think you can use the TIB_Query.SelectedRows(var: AStringList)
> method,
> > which populates the supplied TStringlist object with the bookmarks
> to
> > selected records.
> > Ales
> >
> > -----Original Message-----
> > From: admforum [mailto:remco_kortekaas@h...]
> > Sent: Tuesday, January 29, 2002 11:01 AM
> > To: IBObjects@y...
> > Subject: [IBO] Selected rows in TIB_GRID
> >
> >
> > Hi,
> >
> > Excuse me for probably asking a very simple thing. But I'm new to
> IBO
> > and sometimes things get too much for me :-)
> >
> > I'm looking for a way to retrieve the user selected rows
> (<CTRL><LEFT
> > MOUSE BUTTON> on row) in a TIB_GRID.
> >
> > Can't seem to find this topic in the help files.
> >
> > Thanks,
> > Remco.
> >
> >
> >
> >
> ______________________________________________________________________
> __
> > ___
> > IB Objects - direct, complete, custom connectivity to Firebird or
> > InterBase
> > without the need for BDE, ODBC or any other layer.
> >
> ______________________________________________________________________
> __
> > ___
> > http://www.ibobjects.com - your IBO community resource for Tech Info
> > papers,
> > keyword-searchable FAQ, community code contributions and more !
> >
> >
> > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Sponsored by VeriSign - The Value of Trust
> Do you need to encrypt all your online transactions? Find
> the perfect solution in this FREE Guide from VeriSign.
> http://us.click.yahoo.com/jWSNbC/UdiDAA/yigFAA/PhFolB/TM
> --------------------------------------------------------------
> -------~->
>
> ______________________________________________________________
> _____________
> IB Objects - direct, complete, custom connectivity to
> Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ______________________________________________________________
> _____________
> http://www.ibobjects.com - your IBO community resource for
> Tech Info papers,
> keyword-searchable FAQ, community code contributions and more
> !
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/