Re: Binding a text field's editable binding to a matrix
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