Re: NSPopUpButton binding value/selected problem

2013-10-21 Thread Willeke
>> Why don't you want to bind the Selected Index? It does what you want. >> > Because I don't want the menu to reflect the selection in the table. I just > need the contents of the menu to match the contents of the table, but the > selections in each place need to be independent of each other. >

Re: NSPopUpButton binding value/selected problem

2013-10-18 Thread Jerry Krinock
On 2013 Oct 17, at 11:35, Trygve Inda wrote: > I bind the popup: > > Content (myArray.arrangedObjects) > Content Objects (myArray.arrangedObjects.Identifier) > Content Values (myArray.arrangedObjects.Name) I didn't have time today to really understand what you are doing. I'll just say that u

Re: NSPopUpButton binding value/selected problem

2013-10-18 Thread jonat...@mugginsoft.com
On 17 Oct 2013, at 19:35, Trygve Inda wrote: > > How can I tie the selected index to the Identifier (67897 instead of > "Hello") since the Identifier will not change? > > I don't want to bind the Selected Index to a selection in the NSArray > Controller, but do want to be able to change the Nam

NSPopUpButton binding value/selected problem

2013-10-17 Thread Trygve Inda
I have an NSArray Controller that manages an array of Dictionaries that contain two NSString objects "Name" and "Identifier" The Name field is shown in an NSTable and is user editable while the Identifier is generated when the dictionary is created and is used to reference the object by the app (s