Re: making NSTableView firstResponder programmatically
Re: making NSTableView firstResponder programmatically
- Subject: Re: making NSTableView firstResponder programmatically
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 29 Jun 2002 15:42:13 -0400
on 02-06-29 3:09 PM, Michael Johnston at email@hidden wrote:
>
The secret was to set the NSTextField to send action "only on enter"
>
instead of "on end editing" I think this is because when it is set to on
>
end editing, it sends selectKeyViewFollowingView: AFTER calling its
>
action, even when the key pressed was enter and not tab.
Same thing with combo boxes, only they come off the IB palette with the
"only on enter" setting by default because they're supposed to work like
buttons anyway.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.