Subject RE: [IBO] Strange behaviour in editing (IBO3)
Author Riho-Rene Ellermaa
DModul.MyBeforePost
TIB_Dataset.DoBeforePost
Dataset.SysBeforePost
Dataset.SysPost
BDataset.SysPost
Dataset.SysEdit
Datasource.Edit
DataSource.Modify
DataLink.Modify
FieldDataLink.Modify
Customedit.EditCanModify
CustomEdit.KeyPress
TWinControl.DoKeyPress
TWinControl.MainWndProc



Riho-Rene Ellermaa
senior programmer
Hansabank

> -----Original Message-----
> From: Jason Wharton [mailto:jwharton@...]
> Sent: Tuesday, June 26, 2001 7:20 PM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Strange behaviour in editing (IBO3)
>
>
> What is the callstack on that?
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> ----- Original Message -----
> From: "Riho-Rene Ellermaa" <r.ellermaa@...>
> To: "IBObject (E-mail)" <IBObjects@yahoogroups.com>
> Sent: Tuesday, June 26, 2001 5:05 AM
> Subject: [IBO] Strange behaviour in editing (IBO3)
>
>
> > (IBO 3.6A) When I start editing my record and hit the
> keyboard with more
> > than one finger, i.e. start typing _very fast_, then my datasets
> BeforePost
> > event is triggered. If I type normally - nothing bad happens.
> >
> > In BeforePost I have following code:
> > if(IB_Dataset->State==dssEdit||IB_Dataset->State==dssInsert)
> > { if (MessageDlg(Translate("Do you want to save your data?"),
> > mtConfirmation, TMsgDlgButtons() << mbYes << mbNo,0) == mrNo)
> > { IB_Dataset->Cancel();
> > return;
> > }
> > }
> >
> > no matter what I select - yes or no, my quickly entered
> data is saved OK.
> > It's just very annoying to stop typing and press buttons in between.
> >
> > Riho-Rene Ellermaa
> > senior programmer
> > Hansabank
>
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>