Model 4200A-SCS Parameter Analyzer Reference Manual
Section 6: Clarius
4200A-901-01 Rev. C / February 2017
6-325
Example
status = InputOkCancelDialog(1, "This is a one line message", text1, "", text2,
"", text3, "", text4);
status = InputOkCancelDialog(4, "Line one", text1, "Line two", text2, "Line
three", text3, "Line four",text4);
Also see
None
OkCancelDialog user module
This user module creates a dialog box that provides OK or Cancel decisions.
Usage
status
= OkCancelDialog(int
NumberOfMessages
, char *
Message1Text
, char
*
Message2Text
, char *
Message3Text
, char *
Message4Text
);
status
Returned values; see
Details
NumberOfMessages
The number of text lines to display
Message1Text
The text to display on the first line of the dialog box; this line must be less than
40 characters.
Message2Text
The text to display on the second line of the dialog box; this line must be less than
40 characters.
Message3Text
The text to display on the third line of the dialog box; this line must be less than
40 characters
Message4Text
The text to display on the fourth line of the dialog box; this line must be less than 40
characters
Details
OkCancelDialog
displays a dialog box with up to four text messages with OK and Cancel buttons.
Up to four lines of text can be placed in the dialog box. An example of the entry in Clarius and the
resulting dialog box are shown in the following graphics.