Re: Command-Period Key Equivalent - Bad Idea?
Re: Command-Period Key Equivalent - Bad Idea?
- Subject: Re: Command-Period Key Equivalent - Bad Idea?
- From: Andreas Mayer <email@hidden>
- Date: Thu, 19 Sep 2002 19:37:24 +0200
Am Donnerstag, 19.09.02 um 19:08 Uhr schrieb Kristin Webster:
Do you have an implementation of stop: in one of your objects?
Yes. But not in one of the sheets.
Which object?
The window controller of the sheet's parent window.
Does it work correctly when a sheet is not up?
Yes. Since I do enable the stop menu item only if it's appropriate, I'm
not sure what would happen otherwise. Let me have a look ... should do
nothing - i.e. should work either way.
I just tried it: My implementation of stop: in the parent window does
not get called.
It seems that the stop: action is somehow getting directed to
NSApplication.
Hm. It would probably help if I implemented stop: in the sheet. But I
can't for the toolbar configuration sheet ...
I take it, sheets do not implement stop: by default? Maybe they should.
Oh, what I _can_ do, is just change the message name and keep
command-period as key equivalent. The downside of that solution is,
that command-period will not work anymore to dismiss a sheet. :-(
bye. Andreas.
_______________________________________________
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.