Re: bindings bug?
Re: bindings bug?
- Subject: Re: bindings bug?
- From: Mike Abdullah <email@hidden>
- Date: Fri, 7 Jul 2006 16:57:18 +0100
It's not really a bug as such, it's more what you're doing wrong I'm
afraid!
The whole point of bindings is that you don't have to talk to the
interface elements directly a lot of the time. Instead, you should
set the value which the popup is bound to and the popup will update
itself.
Mike.
On 7 Jul 2006, at 5:21AM, Alan Donsky wrote:
I have an interesting problem i cant figure out.
I have a pop-up button whose selectedValue is bound to a textField.
It works fine if I manually change the pop-up by clicking on it.
However, if I send [popUpButton selectItemWithTitle:@"blah"], the
pop-up button changes its selection to "blah" but the change is not
reflected in the bound text field. If I simply click on the popup
button (without changing the selcetion), then the textfield
displays "blah" Is this a bug or do I need to set the selection of
the popup button differently?
Alan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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