Using callbacks and procedures

errorCallback

The errorCallback can be specified for all commands containing object class options.

This callback is used when an error was detected in a callback command or procedure. The vtcl server specifies a call to the errorCallback on the closest parent widget or ancestor of the widget for the callback in which the error occurred.

The errorCallback contains these additional key/value pairs:


callback
callback that the error occurred in

result
error string that the error created

returnCode
error return code that caused the callback

Next topic: helpKeyCallback
Previous topic: dialogCallback

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003