Subject Re: [IBO] iboBars Shortcut
Author Paul Gallagher
Then can I assume that to get the button states, I should have something
like:

FirstButton.Enabled := not TIBConnection.IB_Session.FocusedDataset.BOF;

What event could I use to trigger this code, if I don't actually have a
NavigatorBar on the form?

Paul

----- Original Message -----
From: "Jason Wharton" <jwharton@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, March 01, 2001 1:52 AM
Subject: Re: [IBO] iboBars Shortcut


> You almost got it.
>
> TIB_Connection.IB_session.FocusedDataset
> TIB_Connection.IB_session.Focused_Dataset
>
> Something like that. See sources of IBA_Session.I??
>
> HTH,
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> ----- Original Message -----
> From: "Andreas Pohl" <apohl@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Thursday, March 01, 2001 12:49 AM
> Subject: Re: [IBO] iboBars Shortcut
>
>
> > I secund that: I wish there would be a property like
> > TIB_Connection.FocusedDataset.
> >
> > ( or do I overlooked sth.?)
> >
> > Mit freundlichem Gruss & Best Regards
> >
> > Andreas Pohl
> > apohl@...
> > www.ibp-consult.com
> >
> > > This will work, but it's kind of convoluted. I wonder if I could just
> tie
> > > directly into something without having to have an invisible NavBar on
> the
> > > form? For example, instead of:
> > > if Sender = first1 then ib_NB.BtnClick( nbFirst );
> > > could I have something like
> > > if Sender = first1 then FocusedDataset.First;
> > > Paul Gallagher
> >
> >
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>