• 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: NSPanel should not close on command-W
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPanel should not close on command-W


  • Subject: Re: NSPanel should not close on command-W
  • From: Georg Seifert <email@hidden>
  • Date: Sat, 21 Jun 2008 20:25:18 +0200

I wrote this earlier but send it directly to Marco.
pleas excuse my carelessness.

I just added a panel to my program. I do not want that the panel closes on command-W. I did setBecomesKeyOnlyIfNeeded:YES. So It does not close if there is a document window. But if the last one is closed (with keyboard: command-W) also the panel closes.

I'm taking a stab in the dark here, but could it be that your panel is in the same nib file as your document window? If it should be a document-independent inspector-kind panel you probably should put it in its own nib file.

I think I was unclear: I did not ment, that the panel closes with the last window, but reacts to command-w if the last window is closed.


And of course, the panel is in a different nib than the document window.

Georg
_______________________________________________

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


References: 
 >NSPanel should not close on command-W (From: Georg Seifert <email@hidden>)
 >Re: NSPanel should not close on command-W (From: Marco Masser <email@hidden>)

  • Prev by Date: Re: NSPanel should not close on command-W
  • Next by Date: Re: NSPanel should not close on command-W
  • Previous by thread: Re: NSPanel should not close on command-W
  • Next by thread: cutting an image into multiple images
  • Index(es):
    • Date
    • Thread