Thanks to all for the replies.  In my case there is a certain process that 
takes place (initiated by the user) that will read these values.  Currently if 
the user enters a value but does not click enter or tab, etc. when the process 
starts and I read the text field string it is empty.  In my case I would only 
need to read these values once before the process starts so I wouldn't have to 
worry about the key focus issues...



On Feb 24, 2012, at 6:17 AM, Keary Suska wrote:

> On Feb 22, 2012, at 5:59 PM, Rick C. wrote:
> 
>> I have a panel with a number of text fields where a user should enter 
>> numeric values.  These text fields are setup with Sent on End Editing so 
>> that if the user presses enter or tabs or changes text fields the value will 
>> be entered.  The problem is sometimes a user just types in a value and 
>> that's it...no enter, no tab, no changing text fields and the value is never 
>> received.  How does everyone else handle this and what can you recommend?  
>> Thanks,
> 
> 
> The Interface Builder inspector used to have this issue and it could be 
> really annoying. I would commit any values being entered when the panel loses 
> key focus, via the delegate method -windowDidResignKey: or listening for 
> NSWindowDidResignKeyNotification.
> 
> HTH,
> 
> Keary Suska
> Esoteritech, Inc.
> "Demystifying technology for your home or business"
> 


_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to