• 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: modal window + sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modal window + sheet


  • Subject: Re: modal window + sheet
  • From: Daniel Jalkut <email@hidden>
  • Date: Sun, 19 Sep 2004 12:59:09 -0700

I am able to attach a sheet to a modal window without breaking the modality. I just use [NSApp beginSheet...] attaching to the modal window. When the sheet is dismissed, instead of calling stopModalWithCode, I just do an orderOut of the sheet, and call [NSApp endSheet:].

In my case I think the modal sheet looks better and makes more sense than a second modal window, so I disagree that it's pointless to use it. I think the sheet also makes it clearer to the user that the secondary dialog WILL block access to the first modal dialog.

Daniel

On Sep 19, 2004, at 9:39 AM, Matt Neuburg wrote:

On Fri, 17 Sep 2004 20:23:26 -0700, Jacob Lukas <email@hidden>
said:
Is there any way to attach a sheet to a modal window without stopping
the modal?

The point of a sheet is to be window-modal with respect to just one window,
leaving the rest of the app non-modal. But if you have put up a modal
window, your app has already gone modal. The window already has the user's
undivided attention, and the user cannot get away from it! So the sheet is
pointless.

_______________________________________________ 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: modal window + sheet
      • From: Jacob Lukas <email@hidden>
References: 
 >Re: modal window + sheet (From: Matt Neuburg <email@hidden>)

  • Prev by Date: How to iterate through IBObjects?
  • Next by Date: Re: modal window + sheet
  • Previous by thread: Re: modal window + sheet
  • Next by thread: Re: modal window + sheet
  • Index(es):
    • Date
    • Thread