Re: [NEWBIE] Sheets problem
Re: [NEWBIE] Sheets problem
- Subject: Re: [NEWBIE] Sheets problem
- From: Thomas Deniau <email@hidden>
- Date: Sun, 24 Jun 2001 21:03:34 +0200
Le dimanche 24 juin 2001, ` 08:40, Carlos Weber a icrit :
With the sheet down, the user cannot do anything else with _that_
document's window until the sheet is dismissed. S/he can merrily carry
on with other docs in the same app, or other apps tho. I don't know if
this is what you mean by "blocking a function", but it's the intended
use of a sheet. You're telling the user, "I'm sorry but we've reached a
point where nothing more can be done with this document until you
address this issue. Please feel free to do other things in the
meantime." This is discussed in the Aqua HI Guidelines (available at an
Apple developer web site near you).
In the Aqua HI Guidelines I've also read that sheets can be used in
single-window apps :
"A modal dialog that is specific to a single-window application that
does not
create documents. A single-window utility program might use a sheet to
request
acceptance of a licensing agreement from the user, for example."
My app *is* single window.
In fact, I've a function which should return the sum of the values of
two text fields in a sheet. So I want to wait until the user has typed
in some values & has closed the sheet.
Any idea ?