QUESTIONBOX

Synopsis
QUESTIONBOX title question
Description

Displays a dialog box with title in the title bar, question as the message, and an edit control for text input. The dialog box also has "OK" and "Cancel" buttons. Processing does not continue until the user clicks one of these buttons. The commander window is also disabled until dialog is dismissed. If the user presses "OK", then QUESTIONBOX outputs the text in the edit control as a list. If the user presses "Cancel", then processing is halted, as if by the HALT command.

Both the title and question inputs may be lists or words. The question input is truncated according to the current values of PRINTWIDTHLIMIT and PRINTDEPTHLIMIT.

The question box is automatically sized to fit question. The question is not word-wrapped, so if you have a long question, you may want to put in some line breaks.

Example
SHOW QUESTIONBOX [Question] [Do you like Logo?]
[Yes, I do.]
See Also
MESSAGEBOX
SELECTBOX

SourceForge.net Logo