Re: Hide / show password in NSTextField / NSSecureTextField
Re: Hide / show password in NSTextField / NSSecureTextField
- Subject: Re: Hide / show password in NSTextField / NSSecureTextField
- From: Andre Masse <email@hidden>
- Date: Tue, 02 Dec 2008 15:36:11 -0500
You could use a secure and plain text field bound to the same value
and hide/show one as needed.
Andre Masse
On Dec 2, 2008, at 11:26, Helder da Rocha wrote:
Yes. I tried that. But it doens't show the characters. It simply
toggles from showing nothing to showing bullets. I want to toggle
from showing characters to showing bullets (I want to reveal what's
under the bullets - it's a long passphrase and easy to mispell)
Helder.
On Dec 2, 2008, at 13:10 , Benjamin Stiglitz wrote:
Does anybody know if there is a simple way to turn on/off the
characters displayed in a Secure text Field? I didn't find any
melhod in NSTextField or NSSecureTextField that does that.
Look at the secure text field cell:
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSSecureTextFieldCell_Class/Reference/Reference.html#//apple_ref/occ/instm/NSSecureTextFieldCell/setEchosBullets:
>
-Ben
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden