Re: NSComboBox and bindings
Re: NSComboBox and bindings
- Subject: Re: NSComboBox and bindings
- From: Ivan Myrvold <email@hidden>
- Date: Sun, 30 May 2004 22:28:13 +0200
I think I have exhausted all the options, and have come to the
conclusion that this doesn't work. Please prove me wrong, I would love
to have this working:
I want to bind to NSComboBox in such a way, that the item titles
showing in the drop down list is like this: 1-some text, 2-another
text, 3-yet another text....
But when I actually select one item in the list, the NSNumber for that
item is stored in an instance variable, and not the title showed. (I f
I select the item "2-another text" the NSNumber for 2 is to be stored).
Can this be done? I always gets the item title stored, and I had the
impression from Apple's documentation that this should be possible. But
there is no example of NSComboBox bindings what I could find on this
list, nor on the internet.
Ivan C Myrvold
OrtopediService AS
Mob. 913 16 356
Tlf. 38 14 45 93
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.