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.
I need to have a text entry box for passwords, like is common on the web, with the ***** showing when a key is pressed. How can I do this in LabWindows?
We provide a custom control for this exact functionality. It converts a normal string control into a password style control. You can find the tool under cvi\toolslib\custctrl\pwctrl.fp. There is an example program that shows how it is used under cvi\samples\userint\custctrl\password\pwsample.prj
You will also want to consider the end-user "Pasting" text into the password box. The current implementation of the password control doesn't "Paste" well. There is another forum question on this with responses.