My App has one window which is displayed. I want to display a sheet when a
button is clicked.
In the action for the button click I do:
ETAboutWindowController *windowController = [[ETAboutWindowController
alloc] initWithWindowNibName:@"ETAboutWindowController"];
[NSApp beginSheet:[windowController window] modalForWindow:[NSApp
mainWindow] modalDelegate:nil didEndSelector:nil contextInfo:nil];
The sheet displays like a modal window with no title bar rather than sliding
down from the main widow as I expect and the spinning beach ball appears.
What is my mistake here?
-rags
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]