Re: Bindings: how to deal with canRemove ?
Re: Bindings: how to deal with canRemove ?
- Subject: Re: Bindings: how to deal with canRemove ?
- From: Herve Bouvier <email@hidden>
- Date: Mon, 20 Sep 2004 09:39:49 +0200
Le 19 sept. 04, à 18:57, Ondra Cada a écrit :
To check whether you can remove from the array, perhaps?
Yes that's it.
Le 19 sept. 04, à 19:13, Larry Fransson a écrit :
On Sep 19, 2004, at 08:10, Herve Bouvier wrote:
But what is the canRemove control key for?
did any one use it ???
I use it to enable and disable a button that triggers an action to
remove an object from the array. The button is enabled when an item
is selected, and disabled when nothing is selected.
Larry Fransson
Seattle, WA
Thank you,
i can see now how to use it.
But is there a way ton customize the behavior of canRemove ?
Could it be Yes when an item is selected AND the item itself is ok to
be deleted ?
Do i have to subclass NSArrayController for that ?
Thanks again
Herve
Marseille
_______________________________________________
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