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 to your controller's canLogIn property.
-- Chris _______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]