Re: NSTextField & Hidden Binding Problem
Re: NSTextField & Hidden Binding Problem
- Subject: Re: NSTextField & Hidden Binding Problem
- From: Matt Neuburg <email@hidden>
- Date: Thu, 16 Nov 2006 07:17:59 -0800
- Thread-topic: NSTextField & Hidden Binding Problem
On Wed, 15 Nov 2006 16:37:22 -0800, Thaddeus Cooper
<email@hidden> said:
>Hi All --
>
>I have an NSTextField in a tab view that is the "label" ("Password:")
>for a NSTextField that the user can type in. I only want these two
>text fields to be visible when a certain object is selected in the
>array controller. I bound the hidden binding of both of them to a
>method in the app delegate customSMTPServerSelected. The text field
>that the user can type in appears and disappears appropriately, but
>the "label" is always visible -- which is not the behavior I want.
>
>What do I need to do to make the "label" become hidden when the
>selected object in the array controller changes?
There isn't any reason why the two NSTextFields would behave differently, so
one of them must be incorrectly bound. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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