Re: Dialog Command Keys
Re: Dialog Command Keys
- Subject: Re: Dialog Command Keys
- From: Bill Appleton <email@hidden>
- Date: Tue, 26 Jul 2011 10:30:43 -0700
hi all
i set the target and the action on my menu items -- this is so that i can
get my handler called when someone selects a menu item
i will re-read the event handler docs with regard to menu items (no keyboard
issues) and see if that helps
thx
bill
On Tue, Jul 26, 2011 at 10:02 AM, Joar Wingfors <email@hidden> wrote:
>
> On 26 jul 2011, at 09:43, Raleigh Ledet wrote:
>
> >> Well, when the dialog field has selected text and i type command-x my
> menu
> >> item's action handler is NOT invoked, because there is a modal dialog up
> I
> >> guess.
> >
> > Wait! Are you saying that you modified the default target/action setup of
> the Cut menu in your main nib file? If so, that would explain everything.
>
>
> What Raleigh means is that the out-of-the-box behavior that we've been
> harping about here depends on these menu items being set up in the default
> way - with the default target (nil) and default actions. If you have
> configured them to have different targets / actions, then all bets are off.
> And again, that would imply that Kyle's suggestion to read up on Cocoa Event
> Handling would be in order.
>
> 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