Re: Sheet over a sheet ?
Re: Sheet over a sheet ?
- Subject: Re: Sheet over a sheet ?
- From: spike <email@hidden>
- Date: Fri, 21 Mar 2003 15:02:21 -0500
well, the only downside of using the tabView is that if your two
"sheets" are of different sizes, it looks strange. I combatted this
problem my creating custom views in my nib (one for each "sheet") and
then [window setFrame:frameOfSheetView display:YES animate:YES]; and
that does some nice animation for the resizing. O'Reilly has a nice
how-to for doing that.
I need to resize my sheets because my app has a backup feature where a
sheet pops up to let you choose the drive to back up to. When it's
done, or needs to show an error, the backup sheet morphs to display the
error, and when ok'd, it morphs back into the old sheet. Also, my
windows are textured, and the standard error sheet isn't so I wanted to
stay consistant.
...spike
On Friday, March 21, 2003, at 02:02 pm, j o a r wrote:
Excelent suggestion, much better than mine.
Use a NSTabView with the tabs hidden, they are superb for this type of
job!
j o a r
On Friday, Mar 21, 2003, at 17:54 Europe/Stockholm, spike wrote:
I'm working with this exact same UI problem right now. My thought is
to have the sheet morph into the new sheet by changing the sheet's
view (a la system prefs) although I'm still having trouble doing it
without confusing myself too much with messy code.
_______________________________________________
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.