Re: Issue while calling run modal after showing a sheet
Re: Issue while calling run modal after showing a sheet
- Subject: Re: Issue while calling run modal after showing a sheet
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 6 Oct 2006 00:00:51 -0700
On Oct 5, 2006, at 9:32 PM, RameshPVK wrote:
Actually , i want to provide a lookup kind of function, which will
show sheet and return the selected value as return value of the
function. This is a common function which will be used across many
places. I do not want to use delegation pattern also.
Then you could run the run loop by repeatedly calling -[NSApplication
nextEventMatchingMask:...] until the -sheetDidEnd:... method is
called and is returned. But you can't run a sheet as application-modal.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden