Re: NSSecureTextField
Re: NSSecureTextField
- Subject: Re: NSSecureTextField
- From: "Sean Liong" <email@hidden>
- Date: Thu, 30 Oct 2003 06:14:53 +0000
Hi Brian,
Try this,
[passwordField setStringValue: [NSString stringWithFormat:@"" ]];
regards,
sean
From: Brian Burke <email@hidden>
To: Cocoa-Dev <email@hidden>
Subject: NSSecureTextField
Date: Wed, 29 Oct 2003 18:57:09 -0500
Hi All-
I'm extremely new to Cocoa programming, I have some experience in
C++, C, Pascal, and shell scripting, but enough about that.
I'm trying to use a NSSecureTextField for a user to input a password.
On this screen there are two buttons "login" (grabs the data and proceeds
to login) and a clear button (supposed to clear the fields in case of major
typos). The userID field is a NSTextField and the passwordField is a
NSSecureTextField, I've been successful in clearing the userID field using
the following code, but the password field won't clear.........
- (IBAction)clear:(id)sender
{
[userID setStringValue: @""];
[passwordField setStringValue: @"" ];
}
Is this the correct way to do this? Even a good way?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_________________________________________________________________
Are you in love? Find a date on MSN Personals
http://match.msn.com.my/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.