Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Message hooks 2011-04-25 -- Graham Dawson There is a set of system properties that allow you to get one of your
procedures called in place of the built in Message, Halt, Stop and Fatal
Error dialogs.
Then you can do what you want.
system{prop:messagehook} = address(MyMessage)
system{prop:halthook} = address(MyHalt)
system{prop:stophook} = address(MyStop)
system{prop:fatalerrorhook} = address(MyFatalError)
where MyMessage etc are procedures that will override the built in dialogs
typically logging errors to a file and deciding whether to contiue or not.
Procedure declarations must match those of the built in versions.
for Message
(STRING,
Today is November 21, 2024, 7:03 am This article has been viewed 35220 times.
|
|