How to prevent window close during data entry
Mike Rowan
mgrowan at fastmail.com
Fri May 2 02:15:11 UTC 2025
Hi all.
I've found yet another thing I just don't get.
I want to prevent a window closing if my 'entering data' flag iEDmode is not zero.
$event method (overridden) I have:
On evClosebox
If iEDmode>0
OK message [A suitable message]
Quit event handler (Discard event)
End if
I thought the discarded event is the click on the closebox. But the window closes anyway.
No doubt there is a simple answer to this. Care to share?
Mike Rowan
Mobile: 0417 812 509
Email: mgrowan at fastmail.com
More information about the omnisdev-en
mailing list