sheet comes unglued from its window
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.