• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Several sheets at the same time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
_______________________________________


References: 
 >Re: Several sheets at the same time? (From: Jeff Binder <email@hidden>)

  • Prev by Date: Re: FW: Enabling and Disabling menus
  • Next by Date: Can I make an array of strings into one long string?
  • Previous by thread: Re: Several sheets at the same time?
  • Next by thread: Re: Several sheets at the same time?
  • Index(es):
    • Date
    • Thread