Bind to single table selection but not multiple?
Bind to single table selection but not multiple?
- Subject: Bind to single table selection but not multiple?
- From: Trygve Inda <email@hidden>
- Date: Sun, 10 Sep 2006 10:45:57 +0000
- Thread-topic: Bind to single table selection but not multiple?
I have a button which should be active if one (and only one) item in an
NSTableView is selected. I'd like to allow multiple selections for other
purposes.
Currently I bind to the canRemove property to see if something is selected,
but with multiple selections, how can I activate my button if and only if a
single item is selected?
Can this be done with bindings?
Thanks,
Trygve
_______________________________________________
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