• 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
sheet comes unglued from its window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sheet comes unglued from its window


  • Subject: sheet comes unglued from its window
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 19 Sep 2002 11:57:07 -0700

I'm trying to modularize the code that puts up a sheet, responds to the
sheet's buttons while it's up, and returns a value when it's all over. I
tried code copied from the documentation's discussion in
UsingCascadingSheets.html, which I quote (i.e. this is what I'm doing, and
it's what the documentation says to do):

[NSApp beginSheet: moreInfoSheet
modalForWindow: window
modalDelegate: nil
didEndSelector: nil
contextInfo: nil];
[NSApp runModalForWindow: moreInfoSheet];
// Sheet is up here.
[NSApp endSheet: moreInfoSheet];
[moreInfoSheet orderOut: self];

This works, but while the sheet is up, if I click on another window, I'm
able to switch to it! And at the same time the sheet continues to hover,
disembodied and disconnected from its window, over top of everything!! Have
I found a bug? m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Drawing NSGlyphs
  • Next by Date: [Q] gprof
  • Previous by thread: Re: attributesAtIndex:effectiveRange: vs the insertion point at end of text
  • Next by thread: Re: sheet comes unglued from its window
  • Index(es):
    • Date
    • Thread