Re: Warning users when editing multiple items
Re: Warning users when editing multiple items
- Subject: Re: Warning users when editing multiple items
- From: Patrick Cusack <email@hidden>
- Date: Wed, 06 Feb 2013 09:38:29 -0800
I fixed the problem. My biggest concern was that I forgot that I could enter a control and not have it inadvertently change all of the multiply selected items. I saw this behavior before. Anyway, when I bind a control to an NSArrayController, I must set the control's action to "Sent on Enter only". I had it set to "Sent on End of Editing" which cause the control to clear out the value for all of the selected cues when I finished editing.
Patrick
On Feb 5, 2013, at 8:01 PM, Graham Cox wrote:
>
> On 06/02/2013, at 2:52 PM, Patrick Cusack <email@hidden> wrote:
>
>> Currently, my users can tab into the first field, and now they have inadvertently erased all of the names of the selected rows. Its been a while since I visited this code and I explicitly remember the <Multiple Values>.
>
>
> Sounds like a bug somewhere. You should find that if <multiple values> is returned from the field, the model values are unchanged, so simply tabbing through fields should be harmless whether or not a value is shown or <multiple values> is shown.
>
> Another suggestion occurs if it's still not clear whether a value in a field represents multiple items - you could show a small icon next to the field when it's a multiple selection, as a hint.
>
> --Graham
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden