Appendix: VBScript Box Constants – Selected Button String Constants Tristate Constants Page 654 InduSoft Web Studio Constant Value Description vbAbortRetryIgnore 2 Display Abort, Retry, and Ignore buttons. vbYesNoCancel 3 Display Yes, No, and Cancel buttons. vbYesNo 4 Display Yes and No buttons. vbRetryCancel 5 Display Retry and Cancel buttons. vbCritical 16 Display Critical Message icon. vbQuestion 32 Display Warning Query icon. vbExclamation 48 Display Warning Message icon. vbInformation 64 Display Information Message icon. vbDefaultButton1 0 First button is the default. vbDefaultButton2 256 Second button is the default. vbDefaultButton3 512 Third button is the default.
vbDefaultButton4 768 Fourth button is the default. vbApplicationModal 0 Application modal. The user must respond to the message box before continuing work in the current application. vbSystemModal 4096 System modal. On Win16 systems, all programs are suspended until the user responds to the message box. On Win32 systems, this constant provides a program modal message box that always remains on top of any other programs you may have running. Constant Value Description vbOK 1 OK button was clicked. vbCancel 2 Cancel button was clicked. vbAbort 3 Abort button was clicked. vbRetry 4 Retry button was clicked. vbIgnore 5 Ignore button was clicked. vbYes 6 Yes button was clicked.
vbNo 7 No button was clicked. Constant Value Description vbCr Chr(13) Carriage return VbCrLf Chr(13) & Chr(10) Carriage return…linefeed combination vbFormFeed Chr(12) Form feed; not useful in Microsoft Windows vbLf Chr(10) Line feed vbNewLine Chr(13) & Chr(10) or Chr(10) Platform-specific newline character; whatever is appropriate for the platform vbNullChar Chr(0) Character having the value 0 vbNullString String having value 0 Not the same as a zero-length string (""); used for calling external procedures vbTab Chr(9) Horizontal tab vbVerticalTab Chr(11) Vertical tab; not useful in Microsoft Windows Constant Value Description vbUseDefault −2 Use default from computer's regional settings.
vbTrue −1 TRUE vbFalse 0 FALSE