OpenModalPassword

<< Click to Display Table of Contents >>

Manual > Control Reference > Common to all controls > Common methods >

OpenModalPassword


 

Simple common dialogOpens the password dialog modally.

 


syntax

OpenModalPassword(

         target,

         password,

         mode

         )

 

cr_0005

 


Parameters

 

target

 

Type:

Object

 

An object that notifies via the OnCommonEvent event whether the correct password was entered.

 

password

 

Type:

character

 

password.

 

mode

 

Type:

character

 

"normal" - When you press the OK button and the password is incorrect, the dialog will close without prompting you to re-enter it.

"inputagain" - If you press the OK button and the password is incorrect, the dialog will not close and you will be asked to re-enter the password.

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 

 

<OnCommonEvent>

 

name

 

Type:

character

 

"RCPassword"

 

value

 

Type:

Boolean

 

TRUE - The correct password was entered.

FALSE - The password is incorrect or the Cancel button was pressed.

 


hmtoggle_plus1Explanation

 


Supported


×

Script Action

○

Browser script

×

Calculation Expression Syntax

 


reference