• 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: NSAlert Sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAlert Sheets


  • Subject: Re: NSAlert Sheets
  • From: Erik Benoist <email@hidden>
  • Date: Tue, 13 Jan 2009 09:33:44 -0500

I must have changed the code around before sending it out. What I was using was this:
[postconfAlertError beginSheetModalForWindow:[[self currentView] window] modalDelegate:self didEndSelector:@selector(alartEnd:returnCode:contextInfo:) contextInfo:nil];

But this still doesn't work.

-Erik

On Jan 13, 2009, at 3:39 AM, email@hidden wrote:


On Jan 12, 2009, at 6:32 PM, Erik Benoist wrote:

All-
I'd like to run some alerts as sheets, but I'm having trouble connecting them to the window. They always seem to run as modal instead of attached. Here is the code I'm using:

[postconfAlertError beginSheetModalForWindow:[[self section] window] modalDelegate:self didEndSelector:@selector(alartEnd:returnCode:contextInfo:) contextInfo:nil];

There is no - [ window] method for InstallerSection. Therefore, when you reach this part of the code, an exception should be raised (or a nil value should be returned.



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

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSAlert Sheets
      • From: email@hidden
References: 
 >NSAlert Sheets (From: Erik Benoist <email@hidden>)
 >Re: NSAlert Sheets (From: email@hidden)

  • Prev by Date: Re: NSAlert Sheets
  • Next by Date: Re: Where do I put the custom Requirements Script
  • Previous by thread: Re: NSAlert Sheets
  • Next by thread: Re: NSAlert Sheets
  • Index(es):
    • Date
    • Thread