Official Content

Its purpose is to show a button to the right of the field that allows viewing the user's password in plain text.

Syntax

control. EnableShowPassword

Type returned: Boolean

Where
control
     
Name of the edit control.

Values

False (default)  The button that allows showing the password in plain text and vice versa is not displayed.
True A button is displayed next to the password to show it in plain text and vice versa.

Values

False
True

Description

It applies to fields in a form of editable type (not read-only) when the Is Password property is enabled. Pressing the button when the password is in plain text hides it (asterisks are displayed instead of characters).

RevealHidepassword_png

Tips

Remember that If you use a Numeric-based field in your password, by default its picture will be "ZZZ9". In such case, you will see a dot symbol like this at rutnime: 

EnabloShowPasswordTipsZZZ9_png

In order to fix this problem, change the Picture property value of that Numeric field to "ZZZZ". 

EnabloShowPasswordTipsZZZZ_png

Design Time

EnabloShowPasswordDesingtime_png

Runtime/Design time

This property applies only at design-time.

Availability

This property is available since GeneXus 15 Upgrade 5.

Scope

Objects: Panel for Smart Devices, Transaction, Web Panel, Work With for Smart Devices, Menu for Smart Devices
Platforms: Web(.Net, Java), Smart Devices(Android)

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant