Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
INPUTBOX$ Function Details
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
INPUTBOX$(prompt$ [,title$ [,default$ [,xpos%, ypos%]]])
Usage Notes
■ If the user chooses the OK button or presses Enter, INPUTBOX$ returns
whatever is in the edit box. If the user chooses the Cancel button,
INPUTBOX$ returns a null string ("").
■ If prompt$ consists of more than one line, be sure to include a
carriage return (CHR$(13)) and a linefeed (CHR$(10)) between each line.
■ If you omit xpos%, you must also omit ypos%. If xpos% and ypos% are
omitted, the dialog box is horizontally and vertically centered.
■ The dialog box is movable and closable, but not sizable. Width and
height are fixed at 46 x 16.