Re: Conditionally enable a button based on NSArrayController's selectedObjects?
Re: Conditionally enable a button based on NSArrayController's selectedObjects?
- Subject: Re: Conditionally enable a button based on NSArrayController's selectedObjects?
- From: Ondra Cada <email@hidden>
- Date: Sat, 29 Apr 2006 00:01:56 +0200
Mike,
On 28.4.2006, at 23:43, Mike Abdullah wrote:
Or there is the better option of binding enabled of the button to
canRemove of the array controller.
Well... I'm using this shortcut sometimes myself, but far as we are
giving advices, a good one is to beware that it is possible there are
selected objects and you cannot remove (e.g., if the data are not
editable).
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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