Re: sheet not receiving all events?
Re: sheet not receiving all events?
- Subject: Re: sheet not receiving all events?
- From: Torsten Curdt <email@hidden>
- Date: Sat, 17 Sep 2011 18:25:32 +0200
On Sat, Sep 17, 2011 at 6:15 PM, Scott Ribe <email@hidden> wrote:
> On Sep 17, 2011, at 10:01 AM, Torsten Curdt wrote:
>
>> Not sure I understand that comment, Scott.
>
> You run it as a sheet, using beginSheetModal..., or you run it as a modal dialog using runModal. You can't do both.
Copying from the docs at
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Sheets/Tasks/UsingAppModalDialogs.html
[NSApp beginSheet: myCustomDialog
modalForWindow: window
modalDelegate: nil
didEndSelector: nil
contextInfo: nil];
[NSApp runModalForWindow: myCustomDialog];
You are suggesting that this is not OK?
cheers,
Torsten
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden