LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

masked text entry for passwords?

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?
0 Kudos
Message 1 of 3
(2,890 Views)
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

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(2,890 Views)
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.

Good Luck
0 Kudos
Message 3 of 3
(2,890 Views)