Re: Dialog Command Keys
Re: Dialog Command Keys
- Subject: Re: Dialog Command Keys
- From: Joar Wingfors <email@hidden>
- Date: Tue, 26 Jul 2011 08:56:45 -0700
On 26 jul 2011, at 08:09, Bill Appleton wrote:
> There ARE cut, copy, and paste items in this menu, but they DONT have any
> command key bindings, maybe that is the problem? i didn't create this menu
> in the first place
Yes, that is at least part of the problem. If the items in your main menu doesn't have the standard key bindings set, your app won't respond to the standard set of keyboard shortcuts. Not too surprising, eh? ;-)
Secondly, all of this should for the most part "just work". If it doesn't, or if you think that you have to provide a lot of custom code to get it working, you're doing something wrong. I'd suggest studying up on Cocoa Event Handling, like Kyle suggested, in particular the concepts around the first responder.
Are the dialogs that you mention modal? If not, how to you put them on screen?
j o a r
_______________________________________________
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