• 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
Question about sheets...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about sheets...


  • Subject: Question about sheets...
  • From: Chas Spillar <email@hidden>
  • Date: Wed, 29 Mar 2006 11:38:27 -0800
  • Thread-topic: Question about sheets...

Hello,

So, I am putting up a sheet over a panel:

(IBAction) doSheet:(id) sender
{
    NSAlert *alert = [NSAlert...];

    [alert beginSheetModalForWindow:panel
            ...
    ];
}

- (void) sheetDidEnd:...
{
}

When the sheet is removed from the screen the panel is no longer active.  In
the sheetDidEnd:returnCode:contextInfo: method, I have tried to orderOut:
the window of the alert and to makeKeyAndOrderFront: to the panel and
various combinations and nothing works.  When the sheet is dismissed the
panel is not the front most window.

Any help, advice, magical incantations would be appreciated.

Thank you,

Chas.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Need of an Apple Engineer. Core-Data Issues
  • Next by Date: Re: disk image making
  • Previous by thread: How to embed my own document data in a pdf?
  • Next by thread: confused about inheritance
  • Index(es):
    • Date
    • Thread