Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Initting "enabled" binding for button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initting "enabled" binding for button



on 5/22/06 11:29 AM, email@hidden purportedly said:

> I am learning to use bindings.  I'm having trouble
> getting a button's enabled state to be set properly at
> launch.  It is bound to the canRemove state of an
> array controller.  It always comes up enabled and
> doesn't seem to synchronize with the binding until I
> do something, such as click on the column header of a
> related table view to sort the items (even though no
> items yet exists).  I tried to use setSortDescriptors
> to make it sync programmatically, but that didn't
> work.

Have you tried unchecking the "enabled" attribute of the button?

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

 _______________________________________________
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

References: 
 >Initting "enabled" binding for button (From: Rondelle Jones <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.