|
<< Click to Display Table of Contents >> Navigation: Pascal Script Reference > Message and Input Boxes > InBox |
function InBox( Caption, EditLabel: string; var Value: string ): boolean
Displays a prompt in a dialog box, waits for the user to input text or click a button, and returns the contents of the text box to Value parameter.
Parameters
Caption: string
string that contains the input box title
EditLabel: string
string that contains the edit control label
Value: string
Return Value
If the user clicks OK or presses ENTER, the InBox function returns True and Value parameter, whatever is in the text box. If the user clicks Cancel, the function returns False.