Re: [NEWBIE] Sheets problem
Re: [NEWBIE] Sheets problem
- Subject: Re: [NEWBIE] Sheets problem
- From: Thomas Deniau <email@hidden>
- Date: Sun, 24 Jun 2001 18:34:05 +0200
Le samedi 23 juin 2001, ` 09:31, Brian Webster a icrit :
Why are you using both beginSheet: and runModalForWindow:? The main
point of using sheets is to be able to display panels without blocking
out functions in the rest of the app. If you want to do something as
app modal, you should just use runModalForWindow: and pass in your
sheet A window. If you don't want to run app modal, you should just
call beginSheet: and not call runModalForWindow:. Or am I missing
something?
Hmm, you're right : if I delete runModalForWindow, everything works
properly.
But, without runModalForWindow, is there a way to block a function,
without blocking the rest of the app, until a sheet is closed ?