Re: NSTextField with NSLevelIndicator
Re: NSTextField with NSLevelIndicator
- Subject: Re: NSTextField with NSLevelIndicator
- From: Michael Vannorsdel <email@hidden>
- Date: Mon, 28 Apr 2008 13:26:02 -0600
Set a delegate for your text field and have it respond to
controlTextDidChange: (NSControl). That will be called every time the
text in the text field is modified.
On Apr 28, 2008, at 1:17 PM, Philip Bridson wrote:
I want to create a password analysis tool that updates an
NSLevelIndicator with each character entered into a
NSSecureTextField. I know how to update the NSLevelIndicator once the
user has finished entering text but how do i update it per character?
To give you a bit more info:
The text is passed to a function: the function returns a value: the
value is used to update the level indicator.
This works fine but I can only do it once the whole word is in the
field. How do I pass characters as they are entered to my func? Such
as:
_______________________________________________
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