Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Set '*' as a Password Char in a Form Field(Cannot find SetEchoChar() in Eclipse Scout)
Set '*' as a Password Char in a Form Field [message #901077] Thu, 09 August 2012 11:56 Go to next message
Eclipse UserFriend
Hi,

First of all, I am using Scout.

I would like to know how can I set '*' as the masking char in the password field of my Users Form.

In other words, I'd like the password to be displayed a a series of * in the corresponding form field.

Hector

[Updated on: Thu, 09 August 2012 11:57] by Moderator

Re: Set '*' as a Password Char in a Form Field [message #901079 is a reply to message #901077] Thu, 09 August 2012 12:07 Go to previous messageGo to next message
Eclipse UserFriend
Hi

For an AbstractStringField you can set getConfiguredInputMasked to true. I don't think you can explicitly set the masking character, I believe it just uses a password field provided by SWT, Swing etc. If you have/want to change it, you could try playing with execFormatValue (I don't know whether you would have to check for possible "clipboard attacks" in that case).

I hope that helps.

Regards

Arthur

[Updated on: Thu, 09 August 2012 12:08] by Moderator

Re: Set '*' as a Password Char in a Form Field [message #901084 is a reply to message #901077] Thu, 09 August 2012 12:29 Go to previous message
Eclipse UserFriend
In the scout sdk this is the property "InputMasked" that you have to check for that text/string field.

Does this help you?

Previous Topic:password with salt
Next Topic:Security in Juno
Goto Forum:
  


Current Time: Wed Jul 23 12:26:43 EDT 2025

Powered by FUDForum. Page generated in 0.08494 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top