NSSecureTextFieldCell setEchosBullets
NSSecureTextFieldCell setEchosBullets
- Subject: NSSecureTextFieldCell setEchosBullets
- From: Eric Long <email@hidden>
- Date: Wed, 12 Apr 2006 12:11:12 -0700
This seems like it should be obvious, but...
I would like to call the NSSecureTextFieldCell method setEchosBullets to
toggle the display between normal and bullets according to the user's
choice.
I have a checkbox "Show password". When clicked, it calls an action method.
Method authenticates the user, then tries this:
----
NSSecureTextFieldCell *theCell = [secureTextField cell];
[theCell setEchosBullets:[theCell echosBullets] == NO];
[secureTextField setNeedsDisplay:YES];
-----
This has no effect. The field remains displaying bullets. If you type into
the field, bullets continue to appear.
What am I doing wrong here?
Thanks for the help,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden