Creating the question dialog (VtQuestionDialog)
The long command in this example:
-
creates a question dialog, with
VtQuestionDialog(VTCL).
The parent of the dialog is $mainform.
-
displays the message ``Are you sure you want to
kill this process?'' with the -message
option.
-
displays only the OK and Cancel
buttons by using the -ok and -cancel
options.
-
assigns the KillFormOkCB callback to the
OK button.
Because no action is to take place when
the user presses Cancel, no
callback is specified for that button.
Use backslashes (\) to separate
a single command line onto several lines.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005