Example Code

Hide a Control Until a Password is Correctly Entered

Code and Documents

Attachment

This example shows the user how to hide a control based on the Visible propety, using an implicit property node. The property is controled by a String Control, modified to show the characters in a password style via the Properties Dialogue Box, thet is compared with a password, if the password is correct the control is shown.

En este ejemplo se controla la visibilidad de un control via la propiedad Visibility, utilizando un nodo de propiedad implícito. La propiedad es controlada por un String Control, modificado vía el cuadro de diálogo Properties para que muestre los caracteres en un estilo de password, que es comparado constantemente con un password y cuando se escribe correctamente se muestra el control.

pwd.JPG

Francisco Arellano

National Instruments Mexico
Field Systems Engineer - Energy Segment
www.ni.com/soporte

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors