on 01-27-2005 2:50 AM
On an unbound edit field which is used to enter a password, how do I set the mask to show an asterisk (*) instead of the actual character entered?
Mike Freivogel
Hi Mike,
There's no support for such a behavior in UI API.
I did not check it in detail, but I could think of a workaround like this:
You might
- capture et_KEY_DOWN when BeforeAction = True,
- store the actual character in some variable,
- set BubbleEvent = False +
- replace the string in the EditText (or UserDataSource) with one more asterisk...
Of course you will also have to handle backspace etc.
<Del> should not be allowed as you cannot tell where the cursor when it has been pressed.
Maybe I forgot something, but I think it could work.
...but I am sure some developers already faced the same challenge?
HTH anyway,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.