Subject Strange behaviour in editing (IBO3)
Author Riho-Rene Ellermaa
(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