• 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: Binding the enabled property of a NSMatrix instance to wether or not a multiple selection on a array controller is made.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding the enabled property of a NSMatrix instance to wether or not a multiple selection on a array controller is made.


  • Subject: Re: Binding the enabled property of a NSMatrix instance to wether or not a multiple selection on a array controller is made.
  • From: Eloy Duran <email@hidden>
  • Date: Thu, 19 Jun 2008 11:30:48 +0200

Hi,

Just wanted to check if I need to explain it differently?
Simple recap: I want a NSMatrix to be disabled when the selection of the NSArrayController it's bound to returns a multiple selection.


Cheers,
Eloy

On Jun 18, 2008, at 12:23 PM, Eloy Duran wrote:

Hi list,

I have a NSArrayController and a form (collection of controls) that displays attributes for a individual object in the array controller.
One attribute is bound to a NSMatrix (radio buttons) with the "Selected Index" binding. This works great.


But now I want to disable the NSMatrix when multiple objects in the array controller are selected.
I have this working with NSTextField, by setting "Allows Editing Multiple Values Selection" to false and "Conditionally Sets Enabled" to true.
I did the same for the NSMatrix under it's "Selected Index" binding, but it doesn't work....


I have tried checking/unchecking all different sorts of combinations, but nothing really helps.
Any suggestions/ideas? Existing code/examples would be great too.


Thanks in advance.

Cheers,
Eloy.

_______________________________________________

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


  • Follow-Ups:
    • Re: Binding the enabled property of a NSMatrix instance to wether or not a multiple selection on a array controller is made.
      • From: Keary Suska <email@hidden>
References: 
 >Binding the enabled property of a NSMatrix instance to wether or not a multiple selection on a array controller is made. (From: Eloy Duran <email@hidden>)

  • Prev by Date: NSPredicateEditor and decimal numbers with fractions
  • Next by Date: Re: Converting to NSPersistentDocument
  • Previous by thread: Binding the enabled property of a NSMatrix instance to wether or not a multiple selection on a array controller is made.
  • Next by thread: Re: Binding the enabled property of a NSMatrix instance to wether or not a multiple selection on a array controller is made.
  • Index(es):
    • Date
    • Thread