Re: Sheet modal for NSTabViewItem
Re: Sheet modal for NSTabViewItem
- Subject: Re: Sheet modal for NSTabViewItem
- From: Eric <email@hidden>
- Date: Sun, 14 Jul 2002 05:52:11 -0400
on 7/13/02 9:10 PM, Joseph Egon Mastandrea (Spiros) at
email@hidden wrote:
>
I was wondering, if anyone has any suggestions as to how to have a sheet
>
that is modal for an NSTabViewItem (in that, you can switch between the
>
tabs when its displayed, just, when on the tabviewitem which has the
>
sheet displayed, you cant do anything until the sheet is dismissed...
>
>
Thanks
>
Sorry, I don't have any answers for you, just a HIG consideration. I thought
about implementing NSTabViewItem-modal sheets in my app, but I eventually
decided it wasn't such a good idea.
What if the user has a sheet open and then decides to switch tabs. The sheet
is now hidden by the content view of the tab he switched to. Now suppose he
forgets about the sheet and wants to close the window or quit the app. He
can't because there is a lingering sheet he hasn't dismissed. I think this
would be confusing for the user.
In all the apps I've observed that employ sheets and tabs, the sheets were
modal for the window. An example is the "PPP Options..." sheet in the
Network Pane of System Preferences.
Just something to think about before you start writing code. Feel free to
ignore my advice. If you do happen to get tab-modal sheets working, I'd love
to hear how you implemented it :)
Eric Wang
_______________________________________________
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.