• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bindings Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Bindings Bug? (From: Alan Donsky <email@hidden>)
 >Fwd: Bindings Bug? (From: Alan Donsky <email@hidden>)

  • Prev by Date: Re: Newbie Q : writing into a text view programmatically
  • Next by Date: How to identify the host app is Carbon or Cocoa in a context menu plugin.
  • Previous by thread: Fwd: Bindings Bug?
  • Next by thread: bindings bug?
  • Index(es):
    • Date
    • Thread