getTextFromUser

HC GUI programming Standard Dialogs getTextFromUser
getPasswordFromUser getSingleChoice

getTextFromUser message caption stdValue
(getTextFromUser message caption stdValue pos centre)


Operation to show a dialog to enter text.

message is the dialog text.

caption is the window title text.

stdValue is the standard password showing at the opening of the dialog.

pos is a list of two integer numbers representing x and y position.

If centre is true, the message text (which may include new line characters) is centred; if false, the message is left-justified.

Output is the entered text.

Examples:

show (getTextFromUser [A Message][A Caption][default_value]
	[200 100])
show (getTextFromUser [A Message][A Caption][default_value]
	[200 100] false)

Reference:

getPasswordFromUser getSingleChoice