On Mon, Jul 12, 2010 at 11:30 AM, Dave DeLong wrote:
> That did the trick! Thanks!
>
> Out of curiosity, under what circumstances for sheet displaying should I be
> using the NSApplication method?
That method is for when you're building a completely custom sheet.
You'd build the sheet as an NSP
That did the trick! Thanks!
Out of curiosity, under what circumstances for sheet displaying should I be
using the NSApplication method?
Thanks,
Dave
On Jul 9, 2010, at 7:40 PM, Michael Ash wrote:
>
> You need to use the NSOpenPanel method
> beginSheetForDirectory:file:types:modalDelegate:con
On Fri, Jul 9, 2010 at 7:21 PM, Dave DeLong wrote:
> Hi everyone,
>
> I'm working on a preference pane and am having issues getting some sheets to
> work.
>
> I have a button that executes:
>
> NSOpenPanel * open = [NSOpenPanel openPanel];
> //basic configuration
> [NSApp beginSheet:open modalFor
Here's some clarification (since I realize my original question may not have
made very much sense):
I have a button on an NSPreferencePane that executes the following code:
NSOpenPanel * open = [NSOpenPanel openPanel];
//basic configuration
[NSApp beginSheet:open modalForWindow:[[self mainView]
Hi everyone,
I'm working on a preference pane and am having issues getting some sheets to
work.
I have a button that executes:
NSOpenPanel * open = [NSOpenPanel openPanel];
//basic configuration
[NSApp beginSheet:open modalForWindow:[[self mainView] window] delegate:self
didEndSelector:@select