Re: Bind button avail to edit field content
Re: Bind button avail to edit field content
- Subject: Re: Bind button avail to edit field content
- From: "I. Savant" <email@hidden>
- Date: Thu, 17 Aug 2006 06:42:08 -0400
The appropriate way to do this is to create a controller with a
key like "buttonShouldBeEnabled" or something, which returns an
answer based on some other answer. As long as it's KVC-compliant, you
can bind your button's enabled state to it.
--
I.S.
On Aug 17, 2006, at 4:47 AM, Trygve Inda wrote:
Is there a way to bind a buttons enable status to an edit field
such that if
the field is empty, the button is disabled, but if it has any
content the
button is enabled?
Or do I need to do this in code?
Thanks,
Trygve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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