Help Contents / GUI programming / Standard Dialogs / getPasswordFromUser

getPasswordFromUser message caption stdValue
(getPasswordFromUser message caption stdValue pos centre)

Operation to show a dialog to enter a password. 

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 password. 

Examples: 

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


previous: getNumberFromUser	next: getTextFromUser
