• 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: Binding a text field's editable binding to a matrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding a text field's editable binding to a matrix


  • Subject: Re: Binding a text field's editable binding to a matrix
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 19 Jan 2005 01:36:35 -0800


On Jan 18, 2005, at 10:41 PM, Keith Renz wrote:



I have a matrix of 3 radio buttons. Selecting one of the radio buttons totals some data within a date range. There are 2 text fields associated this radio button for setting the date range. When this radio button is not selected, I want the 2 text fields to be disabled. Likewise, when this radio button is selected, I want the 2 text fields to be enabled. The matrix is bound to a document iVar (a dictionary) with an object controller. The two text fields are also bound to the same document iVar with the same object controller. Is there a straight forward way to bind the 2 text field's "editable" bindings to the matrix of radio buttons?

No. You need to bind the 'enabled' binding to an attribute of a controller. Do you have a binding for the radio button selection in a controller? You should bind the text field's 'enabled' binding to the same thing.

mmalc


_______________________________________________ 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
  • Follow-Ups:
    • Re: Binding a text field's editable binding to a matrix
      • From: Keith Renz <email@hidden>
References: 
 >Binding a text field's editable binding to a matrix (From: Keith Renz <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Popup buttons, icons, and bindings
  • Previous by thread: Binding a text field's editable binding to a matrix
  • Next by thread: Re: Binding a text field's editable binding to a matrix
  • Index(es):
    • Date
    • Thread