MSGBOX Statement
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Displays a message in a dialog box.
MSGBOX msg$ [,type% [,title$]]
■ msg$ String expression to display in message area of dialog box
■ type% Sum of the values that describe the number and type of buttons
to display; also identifies the default button:
Value Button Display
═════ ═══════════════════════════════════════════════════════
0 (Default) OK
1 OK, Cancel
2 Abort, Retry, Ignore
3 Yes, No, Cancel
4 Yes, No
5 Retry, Cancel
0 First button is default
256 Second button is default
512 Third button is default
■ title$ String expression to display in title bar of dialog box;
if omitted, no title is displayed
See Also
◄MSGBOX Function► ◄INPUTBOX$ Function►