Repository navigation
dos_editbox
Dale Fugier edited this page Jul 1, 2026
·
1 revision
Displays a sizeable Windows dialog box with a multi-line edit control. Useful for editing paragraphs of text. Text can also be imported into the dialog box from external files.
(dos_editbox title prompt [default])
title
A string containing the dialog box title.
prompt
A string containing the dialog box prompt.
default
A default string value. Lines can be separated with a newline, or '\n', character.
A string value if successful. Lines will be separated with a newline, or '\n', character. Use the dos_strtokens function to convert the return value into a list of strings.
nil on cancel or on error.
Command: (dos_editbox "Editor" "Enter some text" "Hockey\nis\nthe\nbest!")
"I really think \nHockey\nis\nthe\nbest!"