O7: #ER = 11022 Trapping the close event in XP
Kelly Burgess
kellyb at montana.com
Wed Apr 15 06:54:40 EDT 2009
Hi Stephen,
>Has anyone had any success?
Just tried a quick test on XP, using Omnis 7.3.8.1, added this to
STARTUP/0 of a small demo library:
Set library control procedure (All libraries,No windows open) STARTUP/10 {lcp}
lcp was:
Send to trace log {[#ER]}
If #ER=11009
Breakpoint
Else If #ER=11022
Breakpoint
End If
Every time I hit the application close box, or picked Close from the
menu in the opposite corner, I hit the breakpoint for 11009. Tried
with a window open, and with no windows open, always hit the same
breakpoint.
Kelly
More information about the omnisdev-en
mailing list