• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Nested sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Nested sheets
      • From: Edward Hillenbrand <email@hidden>
    • Re: Nested sheets
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Re: Nested sheets (From: Edward Hillenbrand <email@hidden>)

  • Prev by Date: Re: Nested sheets
  • Next by Date: Re: adding NSView from other application
  • Previous by thread: Re: Nested sheets
  • Next by thread: Re: Nested sheets
  • Index(es):
    • Date
    • Thread