InfoConnect for Unisys VBA Guide
Attachmate.Reflection.Objects.Emulation.Common Library / Macro Object / PasswordBox Method
The prompt string for the dialog box. The string limit is 260 characters; however, strings are automatically truncated in the dialog box display if they extend beyond the length of the box.
The dialog box caption. The string limit is 260 characters; however, strings are automatically truncated in the dialog box display if they extend beyond the length of the title bar.
In This Topic
    PasswordBox Method (Macro)
    In This Topic
    Opens a dialog box containing a prompt and a text box for user input, and returns the contents of the text box after the user clicks OK. The text entered into the text box appears as asterisks on screen. This method returns an error if the user clicks Cancel.

    Syntax
    expression.PasswordBox( _
       ByVal prompt As String, _
       ByVal title As String _
    ) As String
    where expression is a variable that represents a Macro Object

    Parameters

    prompt
    The prompt string for the dialog box. The string limit is 260 characters; however, strings are automatically truncated in the dialog box display if they extend beyond the length of the box.
    title
    The dialog box caption. The string limit is 260 characters; however, strings are automatically truncated in the dialog box display if they extend beyond the length of the title bar.

    Return Value

    The string entered in the dialog's text box.
    See Also