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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/andre.masse%40videotron.ca

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to