Re: Detecting when sheet has finished appearing
Re: Detecting when sheet has finished appearing
- Subject: Re: Detecting when sheet has finished appearing
- From: BravoBug Software <email@hidden>
- Date: Sat, 10 Oct 2009 16:35:25 -0700
-beginSheet methods return once the sheet has finished animating
(IIRC). If you call -beginSheet you can add the code you want to
execute after the sheet has been displayed immediately after that (but
before any modal calls such as -runModalForWindow). The code will
execute after the sheet animation has finished.
On Sat, Oct 10, 2009 at 3:50 PM, Squ Aire <email@hidden> wrote:
>
> A sheet animates into view. I want to detect it when this animation is complete. There are certain things (like a progressbar) that I wish to start only when the sheet has actually finished appearing on the screen. I don't want the progress bar to start before that.
>
>
> All I can find are a bunch of "SheetWillBegin" stuff. But I cannot seem to find any "SheetDidBegin" stuff.
>
>
> I therefore ask: How can I detect it when the sheet has completely appeared on the screen, i.e. detect when the sheet animation is complete?
> _________________________________________________________________
> Windows Live: Make it easier for your friends to see what you’re up to on Facebook.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009_______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden