• 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: Quit menu item undimming itself?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quit menu item undimming itself?!


  • Subject: Re: Quit menu item undimming itself?!
  • From: Lon Giese <email@hidden>
  • Date: Tue, 9 May 2006 23:58:53 -0700

It seems that you are confused about what a sheet is... A sheet is a document modal window, and it can never be used without a document window to attach it to. When you're using an application modal dialog / window it's never referred to as a sheet.

I submit for your approval: (NSAlert is basically a convience method for a simple sheet.... )



NSAlert Displaying the alert – runModal – beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:

runModal
 Runs the receiver as an application-modal dialog

beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:
 Runs the receiver modally as a alert sheet attached to window.



On 10 maj 2006, at 08.31, Lon Giese wrote:

Why did you change from a window to a sheet? A sheet sounds better to me .. you can put any widgets you want on a sheet... and sounds like you want an application modal any way so why not call the sheet without a window and get application modal?

It seems that you are confused about what a sheet is... A sheet is a document modal window, and it can never be used without a document window to attach it to. When you're using an application modal dialog / window it's never referred to as a sheet.


But in a way you're right - it might be that the easiest way to solve this problem is to use a regular modal session, and not by trying to emulate a modal session via other means.

j o a r


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Quit menu item undimming itself?!
      • From: j o a r <email@hidden>
References: 
 >Re: Quit menu item undimming itself?! (From: Matt Neuburg <email@hidden>)
 >Re: Quit menu item undimming itself?! (From: John Stiles <email@hidden>)
 >Re: Quit menu item undimming itself?! (From: Lon Giese <email@hidden>)
 >Re: Quit menu item undimming itself?! (From: j o a r <email@hidden>)

  • Prev by Date: Re: NSConditionLock vs. plain variable question...
  • Next by Date: Re: Quit menu item undimming itself?!
  • Previous by thread: Re: Quit menu item undimming itself?!
  • Next by thread: Re: Quit menu item undimming itself?!
  • Index(es):
    • Date
    • Thread