• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Command-Period Key Equivalent - Bad Idea?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Command-Period Key Equivalent - Bad Idea? (From: Kristin Webster <email@hidden>)

  • Prev by Date: Re: custom window controllers
  • Next by Date: Re: Problem with NSNumberFormater
  • Previous by thread: Re: Command-Period Key Equivalent - Bad Idea?
  • Next by thread: Rendezvous, NSNetService's resolve doesn't work when not connected
  • Index(es):
    • Date
    • Thread