Re: Nested sheets
Re: Nested sheets
- Subject: Re: Nested sheets
- From: Bill Cheeseman <email@hidden>
- Date: Wed, 30 Mar 2005 18:32:57 -0500
on 2005-03-30 12:53 PM, Edward Hillenbrand at email@hidden
wrote:
> In this case I would implement the panelSelectionDidChange: delegate
> method, then check to see if the selected file causes a conflict. If
> it does cause a conflict, I would disable the default button and load
> an accessory view using setAccessoryView: this view would contain a
> message along the lines of "The selected file conflicts with an item
> already imported. Select another file or click the Import Anyway
> button to import the file" under that I would be the Import Anyway
> button.
That's a great suggestion.
The only qualm I have about it is that an accessory view does not focus the
user's attention the way a modal secondary sheet does. I suspect many users
will blithely click the default button without noticing the accessory view.
An unintended choice in my utility can destroy information (although
undo/redo are available). In fact, I have decided that it is correct to use
a critical alert sheet here, for that reason. Would this factor lead you to
conclude that a modal secondary sheet is appropriate?
But you've given me the idea that I could always show the contents of the
selected file in the accessory view, and adorn it with a warning when the
contents include a conflict. That might be the way to go.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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