• 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: Bindings: how to deal with canRemove ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bindings: how to deal with canRemove ?
      • From: Scott Stevenson <email@hidden>
References: 
 >Bindings: how to deal with canRemove ? (From: Herve Bouvier <email@hidden>)
 >Re: Bindings: how to deal with canRemove ? (From: Allan Odgaard <email@hidden>)
 >Re: Bindings: how to deal with canRemove ? (From: Herve Bouvier <email@hidden>)
 >Re: Bindings: how to deal with canRemove ? (From: Larry Fransson <email@hidden>)

  • Prev by Date: Bezier path for volume editor
  • Next by Date: Re: Bindings: how to deal with canRemove ?
  • Previous by thread: Re: Bindings: how to deal with canRemove ?
  • Next by thread: Re: Bindings: how to deal with canRemove ?
  • Index(es):
    • Date
    • Thread