From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Password Entry Dialog Box Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Overview

This is an example of a custom password entry dialog box.


Description
This VI uses the display style string control property to switch the string between password and normal display. In order to allow this, the key focus property is also toggled.In order to respond to the user hitting carriage return, a notify event is used to respond to "key down" events.

 

Requirements

  • LabVIEW 2013(or compatible)

 

Additional Information or References
VI Snippet

2-393.png

**This document has been updated to meet the current required format for the NI Code Exchange.**

Ingram | CLA

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