Re: text field question
Re: text field question
- Subject: Re: text field question
- From: "Rick C." <email@hidden>
- Date: Fri, 24 Feb 2012 09:36:36 +0800
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 (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