• 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: Jacob Lukas <email@hidden>
  • Date: Sun, 19 Sep 2004 13:12:12 -0700


On Sep 19, 2004, at 12:59 PM, Daniel Jalkut wrote:

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:].

I tried that. It didn't work. Maybe I'm doing something different.

I make an alert, and save the buttons. One of them I set target to self and action to enter:. I then use [alert runModal] to run the modal.

When enter: executes, it uses [[NSApplication sharedApplication] beginSheet:...] but the application crashes.

Should I not use [alert runModal] but do my own modal code?

Thanks
Jacob
 _______________________________________________
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

References: 
 >Re: modal window + sheet (From: Matt Neuburg <email@hidden>)
 >Re: modal window + sheet (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: modal window + sheet
  • Next by Date: NSBrowserCell and objects
  • Previous by thread: Re: modal window + sheet
  • Next by thread: Re: modal window + sheet
  • Index(es):
    • Date
    • Thread