Re: Sheet not ending

2009-03-04 Thread Mr. Gecko
I did some more searching and I finally found that I needed to order out the window. - (IBAction)postComment:(id)sender { [commentView setString:@""]; [countField setStringValue:@"500 Remaining"]; [[NSApplication sharedApplication] beginSheet:postCommentWindow modalForWindow:

Re: Sheet not ending

2009-03-04 Thread Nick Zitzmann
On Mar 4, 2009, at 10:45 AM, Mr. Gecko wrote: - (IBAction)postComment:(id)sender { [commentView setString:@""]; [countField setStringValue:@"500 Remaining"]; [[NSApplication sharedApplication] beginSheet:postCommentWindow modalForWindow:commentWindow modalDelegate:nil didEndS

Re: Sheet not ending

2009-03-04 Thread Gerd Knops
On Mar 4, 2009, at 11:45 AM, Mr. Gecko wrote: Hello, I'm finding something weird. I am writing an application that posts comments. I am able to open the sheet and I have a post and cancel button, they work when you push them, but when I call endSheet with NSApplication, it doesn't end unti

Sheet not ending

2009-03-04 Thread Mr. Gecko
Hello, I'm finding something weird. I am writing an application that posts comments. I am able to open the sheet and I have a post and cancel button, they work when you push them, but when I call endSheet with NSApplication, it doesn't end until you quit the application. Here is my code belo