Re: Dialog Command Keys
Re: Dialog Command Keys
- Subject: Re: Dialog Command Keys
- From: Bill Appleton <email@hidden>
- Date: Tue, 26 Jul 2011 09:34:26 -0700
I just noticed that even if i bring up a stock dialog (like the put file
dialog to save a file) that command-x still doesn't work. for these dialogs
it DOES flash (hilite) that menu, but no cutting happens. So I don't think
it matters how i am running the modal dialogs, because a stock dialog (cocoa
is running) also has this problem.
On Tue, Jul 26, 2011 at 9:29 AM, Andy Lee <email@hidden> wrote:
> On Jul 26, 2011, at 12:03 PM, Bill Appleton wrote:
> > The items in the main menu DO have the standard key bindings, they are
> > disabled when the modal dialogs come up
>
> That is odd. My question is, how do those menu items "know" to be enabled
> when we run a modal dialog the more usual way, using a nib? Seems like
> something I should know but I don't have the answer offhand. I'd search the
> docs but I have to run in a minute -- maybe the answer is in the doc "How
> Modal Windows Work"? Or in the event handling doc mentioned earlier?
>
> > The dialogs are modal
>
> Out of curiosity, how are you displaying your dialogs? Are you using [NSApp
> runModalForWindow:]? Using a modal session? Something else?
>
> --Andy
>
>
_______________________________________________
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