Re: Beginner question with sheets
Re: Beginner question with sheets
- Subject: Re: Beginner question with sheets
- From: Steve Roy <email@hidden>
- Date: Tue, 18 Mar 2003 11:17:49 -0500
email@hidden (Marco Binder) wrote:
>
I m sorry if this is insulting, but have you ever checked, if
>
(returnCode == NSAlertPanel.DefaultReturn) ?? This would be me first
>
guess. Just put an println statement after the if and check...
Yes I did and that wasn't it. Someone gave me the answer offlist though. I have
to explicitly close() the sheet before trying to performClose() on the window. I
thought that the sheet was automatically closed since it disappears from view
when the user clicks one of the buttons.
Steve
--
Steve Roy <email@hidden>
http://homepage.mac.com/sroy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.