Re: Displaying sheet when window first appears.
Re: Displaying sheet when window first appears.
- Subject: Re: Displaying sheet when window first appears.
- From: Julian Barkway <email@hidden>
- Date: Mon, 23 Sep 2002 02:04:51 -0700 (PDT)
On Monday, Sep 23, 2002, at 09:49AM, Oscar Morales Vivs <email@hidden> wrote:
>
I believe this has been already commented in this mailing list, but I
>
was unable to find it in the archives, so please don't flame :)
>
>
I want to put a sheet on a window the first time it appears on the
>
screen. However, I haven't found the right place to do so, as init is
>
far too early and awakeFromNib seems to be called before the window is
>
displayed, leaving a "floating sheet" on a window of its own.
>
>
There's a number of probably workable approaches I can take into making
>
it work, but I'd like a more informed opinion on the best way to
>
accomplish that. Any help will be appreciated.
>
>
Thanks in advance:
>
>
Oscar Morales.
I put up a sheet straight after invoking makeKeyAndOrderFront:, which
seems to work fine. However, I'm sure there are other ways of doing this.
--
Julian Barkway,
Zurich,
Switzerland.
_______________________________________________
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.