• 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 Enabled property to NSArrayController selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding Enabled property to NSArrayController selection


  • Subject: Re: Binding Enabled property to NSArrayController selection
  • From: Matthew Lindfield Seager <email@hidden>
  • Date: Mon, 19 Oct 2009 22:59:40 +1100

2009/10/19 Stamenkovic Florijan <email@hidden>
>
>
> I think so... When binding the enabled state of a toolbar item you need to
> make sure that the item does not autovalidate. The "Autovalidates" checkbox
> can be found in the attributes panel of the inspector for a toolbar item. I
> am not sure if this is a bug or not, and it is NOT mentioned in the bindings
> reference for NSToolbarButton, so it's a bit tricky to figure out. Since
> usually bindings override the non-bound state I can see this as a bug, but
> my experience with Cocoa is not wide enough to judge... Anyone else?


 One little check box!!! Argh!

Thank you very much for your help! At the very least I should probably log a
documentation request for the binding's reference (there's not much to
the NSToolbarItem Bindings section but I read it several times to make sure
I wasn't missing anything!).

I possibly should have cottoned on to the fact that every search I performed
talked more about validation than bindings. If I didn't receive an answer I
was going to delve into validation but I really don't have the time at this
moment in time so I'm VERY grateful for your help!

Regards,
Matt
_______________________________________________

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 Enabled property to NSArrayController selection
      • From: Stamenkovic Florijan <email@hidden>
References: 
 >Binding Enabled property to NSArrayController selection (From: Matthew Lindfield Seager <email@hidden>)
 >Re: Binding Enabled property to NSArrayController selection (From: Stamenkovic Florijan <email@hidden>)

  • Prev by Date: Re: Binding Enabled property to NSArrayController selection
  • Next by Date: Re: Binding Enabled property to NSArrayController selection
  • Previous by thread: Re: Binding Enabled property to NSArrayController selection
  • Next by thread: Re: Binding Enabled property to NSArrayController selection
  • Index(es):
    • Date
    • Thread