Re: Bindings Bug?
Re: Bindings Bug?
- Subject: Re: Bindings Bug?
- From: Scott Anguish <email@hidden>
- Date: Fri, 7 Jul 2006 10:03:18 -0400
you must change the selection in the controller.. then all the UI
items will synchronize with it.
On Jul 6, 2006, at 11:28 PM, Alan Donsky wrote:
Begin forwarded message:
From: Alan Donsky <email@hidden>
Date: July 6, 2006 10:02:16 PM CDT
To: email@hidden
Subject: Bindings Bug?
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:
This email sent to email@hidden