Subject | RE: [IBO] TIB_Grid.CellLoseFocus firing too late on row change ? |
---|---|
Author | G. Nau |
Post date | 2005-05-25T18:22:16Z |
Jason,
Ahhh, I see.
So it's indeed a LostFocus, not "OnExit".
What event do you recommend to use with an IB_Query or IB_Grid
to fire, before the data is inserted/updated to the table?
Maybe: IB_query onbeforeinsert, onbeforepost
Or maybe onvalidatefields?
I did some quick tests, but the results were not 100% satisfying. The
online help is also no giving a more precise information, WHEN the
event if fired.
Regards
Gunther
Am 23 May 2005 um 18:39 hat Jason Wharton geschrieben:
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Ahhh, I see.
So it's indeed a LostFocus, not "OnExit".
What event do you recommend to use with an IB_Query or IB_Grid
to fire, before the data is inserted/updated to the table?
Maybe: IB_query onbeforeinsert, onbeforepost
Or maybe onvalidatefields?
I did some quick tests, but the results were not 100% satisfying. The
online help is also no giving a more precise information, WHEN the
event if fired.
Regards
Gunther
Am 23 May 2005 um 18:39 hat Jason Wharton geschrieben:
> There's probably nothing I can do about that because it doesn't know it has___________________________________________________________
> lost focus until after the event that triggered the loss of focus has
> completed. Focus was 'lost'.
>
> Jason
>
>
> > -----Original Message-----
> > From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> > Behalf Of G. Nau
> > Sent: Sunday, May 22, 2005 3:20 AM
> > To: IBObjects@yahoogroups.com
> > Subject: [IBO] TIB_Grid.CellLoseFocus firing too late on row change ?
> >
> >
> > Am 22 May 2005 um 6:35 hat Lester Caine geschrieben:
> >
> > > Not one I use.
> > > What are you trying to do in it?
> > > I tend to check and modify data in the query component
> > rather than 'on
> > > the grid'.
> > > I have had problems with LoseFocus sequence - but not with
> > IBO - however
> > > it probably needs a look at.
> > >
> >
> > I have to do some data integrity and modification checks after the
> > user entered data. The mods itself can indeed be done in the query
> > (ib_query.fieldbyname('fieldname').asstring).
> > But to fetch the data changes, the CellLoseFocus seems an
> > appropriate approach....
> > >>I have had problems with LoseFocus sequence - but not with
> > IBO - however
> > it probably needs a look at.<<
> > Indeed, IBO is working fine, it's just the LoseFocus is
> > firing right after
> > the row change.
> >
> > Regards
> > Gunther
>
>
>
> ___________________________________________________________________________
> 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 !
> Yahoo! Groups Links
>
>
>
>
>
>
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de