Subject Re: [IBO] Strange behaviour in editing (IBO3)
Author Jason Wharton
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