Re: Several sheets at the same time?
Re: Several sheets at the same time?
- Subject: Re: Several sheets at the same time?
- From: Henri Lamiraux <email@hidden>
- Date: Wed, 22 Aug 2001 13:02:29 -0700
That was a bug in InterfaceBuilder itself that has been fixed since then.
On Wednesday, August 22, 2001, at 12:38 PM, Jeff Binder wrote:
I've had that happen in IB before. It's apparently a bug somewhere in
OS X. Worse, once I had the save sheet open from a window near the
bottom of the screen. When I expanded the sheet, it went off the bottom
of the screen, and became useless! What it should have done is move the
window up, like it would if the sheet were opened expanded. Anyway,
there are still a few bugs to be worked out with sheets.
Jeff Binder
On Wednesday, August 22, 2001, at 12:33 PM, j o a r wrote:
Hello,
When a sheet was up in the main window of my single window application
I pressed CMD-N by accident - to my surprise this opened a new sheet
that I use to find files in the file system. So then I had two sheets
up that the same time - wierd! The controls didn't work in either
sheet, so I had to kill the application from PB.
Shouldn't the frameworks prevent stupid things like this from
happening? I thought that the application wouldn't answer to user
input requests like CMD-N while the first sheet was up? (Like the
recent thread about not being able to quit the application before
dismissing the sheet)
The first sheet was opened with:
[NSApp beginSheet:refreshItemsSheet
modalForWindow:[myController valueForKey:@"mainWindow"]
modalDelegate:self
didEndSelector:@selector(didEndSheet:returnCode:contextInfo:)
contextInfo:refreshItemsSheet];
The second sheet with:
[openFoldersPanel beginSheetForDirectory:NSHomeDirectory()
file:nil
types:nil
modalForWindow:mainWindow
modalDelegate:self
didEndSelector:@selector(didEndSheet:returnCode:contextInfo:)
contextInfo:@"openFoldersPanel"];
Regards,
j o a r
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
_______________________________________
Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple
_______________________________________