Re: Trouble with sheets...
Re: Trouble with sheets...
- Subject: Re: Trouble with sheets...
- From: David Emme <email@hidden>
- Date: Sat, 17 Jun 2006 18:46:30 -0700
On Jun 17, 2006, at 5:06 PM, Bruce Beerbower wrote:
- (IBAction)closeSheet(id)sender
{
[NSApp endSheet:addPanel];
}
This compiles just fine but it doesn't seem to work; when I press
the button which triggers openSheet the sheet opens properly, but
when I press the button which triggers closeSheet it doesn't close.
Dose anybody see what I'm doing wrong?
The example in Hillegass' book also sends an -orderOut: to the sheet.
This seems to work for me.
-Dave
--
Nothing defines humans better than their willingness to do irrational
things in the pursuit of phenomenally unlikely payoffs. This is the
principle behind lotteries, dating, and religion.
- Dogbert
_______________________________________________
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