Re: NSAlert Sheets
Re: NSAlert Sheets
- Subject: Re: NSAlert Sheets
- From: email@hidden
- Date: Tue, 13 Jan 2009 00:39:31 -0800
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