• 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: Populate NSTextView from NSPopupButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Populate NSTextView from NSPopupButton


  • Subject: Re: Populate NSTextView from NSPopupButton
  • From: Felix Franz <email@hidden>
  • Date: Thu, 14 Sep 2006 15:02:41 +0200


On Sep 14, 2006, at 1:56 PM, Tom Quest wrote:

Thanks Felix, it looks better now, but still doesn't work properly.

Wenn the application launches the PopupButton selects its default value and the corresponding text is now being displayed in the TextView. When I change the value in the popup it still isn't reflected in the TextView. I checked the Bindings Ref Page for the PopupButton but the only values that seem plausible to me to fill are: content & contentValues. Binding selectedValue doesn't work as well. Is there another binding that has to be set ?


the ArrayController needs to know the selection. I guess binding the PopupButtons "selectedIndex"
to the ArrayControllers selectionIndex will do the trick ... not tested, though.


felix


_______________________________________________ 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: 
 >Populate NSTextView from NSPopupButton (From: Tom Quest <email@hidden>)
 >Re: Populate NSTextView from NSPopupButton (From: Felix Franz <email@hidden>)
 >Re: Populate NSTextView from NSPopupButton (From: Tom Quest <email@hidden>)

  • Prev by Date: Re: String in NSRect
  • Next by Date: Re: Using Cocoa to detect the presence of an iSight camera
  • Previous by thread: Re: Populate NSTextView from NSPopupButton
  • Next by thread: Custom NSAttachmentCell (save/copy/paste)
  • Index(es):
    • Date
    • Thread