Re: Sheet in a non-document-based Application
Re: Sheet in a non-document-based Application
- Subject: Re: Sheet in a non-document-based Application
- From: Torsten Trautwein <email@hidden>
- Date: Sun, 12 Mar 2006 20:01:18 +0100
It works now! :)
The problem was that I wanted to use a extra .nib file as sheet. I think
that was what you wanted to tell me.
Thanks, everyone!
Torsten Trautwein
On Mar 12, 2006, at 7:23 PM, Matt Neuburg wrote:
On Sun, 12 Mar 2006 18:25:11 +0100, Torsten Trautwein
<email@hidden> said:
[NSApp beginSheet: mySheet
modalForWindow: window
modalDelegate: nil
didEndSelector: nil
contextInfo: nil];
[NSApp runModalForWindow: mySheet];
There's your problem, surely. Either you want a doc-modal sheet or an
app-modal separate window; you can't mix them like this. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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