Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Password Char
PostPosted: Mon Apr 02, 2012 7:01 am 

Joined: Mon Dec 05, 2011 12:25 am
Posts: 15

Offline
Hi

I am using Ix panel T10A. And I want Password Char in TextBox. I dont find any property for Password Char in TextBox. Whatever I write in Text it comes in readable format. I want to display it in asterisk (*****).
How to do this,

regards,
Umesh


 Profile  
 
 Post subject: Re: Password Char
PostPosted: Mon Apr 02, 2012 10:03 am 

Joined: Tue Mar 13, 2012 9:53 am
Posts: 824

Offline
Hi Umesh,

Our AnalogNumeric boxes do not have the ability to do password char.

Thanks,
Mark

_________________
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer


 Profile  
 
 Post subject: Re: Password Char
PostPosted: Mon Apr 02, 2012 10:20 pm 

Joined: Mon Dec 05, 2011 12:25 am
Posts: 15

Offline
Hi Mark,

Thanks for your reply,

There should be some solution for that in scripting or third party component.
I can not say no to my customer. Please suggest some work around.

Regards,
Umesh


 Profile  
 
 Post subject: Re: Password Char
PostPosted: Tue Apr 03, 2012 12:20 pm 

Joined: Tue Mar 13, 2012 9:53 am
Posts: 824

Offline
Hi Umesh,

No password char option was implemented because all the HMI security was supposed to go through the built in system. Here is one way to implement a password char AnalogNumeric Box.

You need to install the font included in the PasswordFont folder and implement the InputValueChanged method in the screen script. Set the font for the AnalogNumeric control that you will be using to input the password to the password font. When the user inputs the password that font is used and just displays '*'. Once the password in entered the value entered gets transferred to a tag and the text in the AnalogNumeric control gets set to '*'. That way the user can not copy/paste the password.

I am looking to see if there is an easier way.

Regards,
Mark


Attachments:
PasswordChar.zip [54.61 KiB]
Downloaded 353 times

_________________
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer
 Profile  
 
 Post subject: Re: Password Char
PostPosted: Fri Apr 06, 2012 2:38 am 

Joined: Mon Dec 05, 2011 12:25 am
Posts: 15

Offline
it is working Thanks :)


 Profile  
 
 Post subject: Re: Password Char
PostPosted: Tue Aug 09, 2016 7:15 am 

Joined: Tue Dec 11, 2012 5:44 am
Posts: 67

Offline
Hello,

With the attached project of example, on Windows operating systems, I see all character of the string until I press return and go out from first text input.
After it is replaced with asterisk.
Aren't there better solutions for that?

Thank you


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron