ISEdit.PasswordChar

Description

The symbol code that indicates the entered password character. This property is not accessible in the Object Inspector.

Syntax

object.PasswordChar

Part Attribute Type Description
object Required
The object always implements the ISEdit interface

Return Value

byte

Example

Display some information about the specified edit control, including the symbol code that indicates the entered password character.

Dim aEdit
Dim aEditInfo

Set aEdit = Form.Controls_("edtInform")

aEditInfo =_  
  "ShortName: " & aEdit.ShortName & vbNewLine &_
  "TypeName: " & aEdit.TypeName & vbNewLine &_
  "Char Case: " & aEdit.CharCase & vbNewLine &_
  "Password Char: " & Chr(aEdit.PasswordChar) & " (Code: " & aEdit.PasswordChar & ")"                
  
Profile.MsgBox(aEditInfo)
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0