This sample illustrates password input.
This is not an executable sample, so a complete project is not provided. These statements are intended to show basic concepts and the syntax used.
Private Sub Form_Load()
SftMask1.Caption.SizePercent = 33
SftMask1.Caption.Text = "&Password"
SftMask1.PromptUnderline = False
SftMask1.Mask = ""
SftMask1.PswdChar = "*"
SftMask1.MaxLength = 16
End Sub