Mark Derricutt asked:

> I'm using an OnBeforeScroll event to promt the user "do you
> want to save" if the dataset is in edit mode, but if their
> was a problem updating, I dont wish the navigation to continue,
> any ideas?

Our usual technique is to use Abort. That sill unwind the action that
cased the navigate in the firstlace and stop when the event get to the
main event loop. Probably what you want to happen.

Cheers, Max.


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to