Another approach - the tables I thought were using bindings on menu items
turned out to be using tableView:willDisplayCell:forTableColumn:row:
- Original Message -
From: "Jerry Krinock"
To: "Cocoa Dev"
Sent: Saturday, August 3, 2013 7:27:17 PM
Subject: Re: How
On 2013 Aug 02, at 16:21, Chris Tracewell wrote:
> I can't see how bindings and validateMenuItem can work together in this
> scenario.
I've found myself asking questions like that until someone on this list pointed
out to me that I was trying too hard. Although I'm a believer in Cocoa
bindi
I took a look, thanks for the files. I had both deselected already, still makes
no difference. I created a new project and rolled a stripped down version and
it acted the same way. I can't see how bindings and validateMenuItem can work
together in this scenario. I'm going to try catching change
NSMenuItem. I noticed that the NSPopUpButtonCell also has an autoenables items
flag; a quick bit of hacking on the ButtonMadness sample app shows that needs
to be off too. I'll send you the files off-list.
On Aug 2, 2013, at 1:56 PM, Chris Tracewell wrote:
> Thanks for the suggestion, I had alr
On Aug 2, 2013, at 2:56 PM, Chris Tracewell wrote:
> Thanks for the suggestion, I had already done that to no avail. Where should
> I be binding the enabled property? NSPopUpButtonCell or NSMenuItem?
You may also set the table view's delegate and implement
tableView:willDisplayCell:forTableColu
Thanks for the suggestion, I had already done that to no avail. Where should I
be binding the enabled property? NSPopUpButtonCell or NSMenuItem?
CT
On Aug 2, 2013, at 1:33 PM, Lee Ann Rucker wrote:
> Turn off "Auto Enables Items" in the popup's menu. If it's on it goes through
> menu valid
Turn off "Auto Enables Items" in the popup's menu. If it's on it goes through
menu validation instead of bindings.
On Aug 2, 2013, at 1:12 PM, Chris Tracewell wrote:
> I've got a two column NSTableView that is bound to an array controller. Each
> of the elements in the array looks something lik
I've got a two column NSTableView that is bound to an array controller. Each of
the elements in the array looks something like this...
NSMutableDictionary *theDictionary = [NSMutableDictionary
dictionaryWithDictionary: @{@"myOptions":theOptionArray,@"myTitle": theTitle}];
Column 1 is bound to m