Open/Save Dialogs Questions
Open/Save Dialogs Questions
- Subject: Open/Save Dialogs Questions
- From: Simone Manganelli <email@hidden>
- Date: Sat, 12 Apr 2003 03:17:05 -0700
I'm running up against a weird problem, that I don't know is a
"feature" or not.
I'm trying to using an open panel, but I want things to happen after
that, specifically open a save panel. The problem is that the code
doesn't wait for the sheet to finish before proceeding on to the next
lines of code. So what happens is that the save panel is blocked since
the Open panel is already open. I've tried putting the code for the
Save panel inside the "didEndSelector" for the Open panel, but then the
Open panel never closes and the Save panel is shown above it, and it
becomes really quirky.
So what's the solution to this problem? I tried having a global
boolean that would be set to YES as the last line of code before the
Open panel actually ends and have the code continue to loop until it
sees that this boolean is YES, but this just hangs the program.
Am I missing something since it's 3:15 in the morning?
Thanks for any help.
-- Simone Manganelli
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.