Re: NSAlert Sheets
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 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