Re: [NEWBIE] Sheets problem
Re: [NEWBIE] Sheets problem
- Subject: Re: [NEWBIE] Sheets problem
- From: Charles Bennett <email@hidden>
- Date: Mon, 25 Jun 2001 22:12:26 -0400
Bill Cheeseman wrote:
>
>
on 6/25/01 1:56 PM, Thomas Deniau at email@hidden wrote:
>
>
> Is there a way to do "wait until the sheet is closed" without
>
> runModalForWindow ?
>
>
I may misunderstand your question, but isn't this the role of the callback
>
routine you need to use with BeginSheet? The callback is called
>
automatically when the sheet is closed, and you ought to be able to do just
>
about anything in it.
Perhaps not the way he is thinking about the problem.
The method he calls is the one he expects to return the values
with the sum of the sheet buttons. So he desires that the flow goes
Call a -(int) method
in the method begin a sheet and wait for an answer.
return the answer.
Very modal..
If his program MUST hang and wait for the result of the sheet then
perhaps using a sheet is the wrong approach, they are nice, but not for everyting..
Perhaps he should open a model panel with whatever UI he need's in it, and simply
wait...
chuck