On Sep 4, 2008, at 12:33 PM, Ronnie B <[EMAIL PROTECTED]> wrote:
I would like to have 'Ok' button disabled as long as the password
field is empty.
Add a -canLogIn method to the panel's controller that returns YES when
the user has entered a password. Then bind your button's enabled state
Thanks Randall. It worked.
On Thu, Sep 4, 2008 at 3:42 PM, Randall Meadows <[EMAIL PROTECTED]> wrote:
> On Sep 4, 2008, at 1:33 PM, Ronnie B wrote:
>
> Hi All!
>>
>> I am implementing a login panel. I would like to have 'Ok' button
>> disabled
>> as long as the password field is empty. Any ad
On Sep 4, 2008, at 1:33 PM, Ronnie B wrote:
Hi All!
I am implementing a login panel. I would like to have 'Ok' button
disabled
as long as the password field is empty. Any advise?
-controlTextDidChange: delegate method; in it, [en|dis]able the button
according to the length of the passw
Hi All!
I am implementing a login panel. I would like to have 'Ok' button disabled
as long as the password field is empty. Any advise?
R.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments