getTextBoxString
function getTextBoxString:string;
Returns the text entered into the text box.
var cont : command;
quote : string;
begin
showTextBox('Enter your favorite quote', 'To be or not to be', 200, TF_ANY);
cont := createCommand('Continue', CM_SCREEN, 1);
addCommand(cont);
repeat
delay(100);
until getClickedCommand <> emptyCommand;
quote := getTextBoxString;
...
end.
See also: showTextBox