Re: Possible bug in NSTextField?
Re: Possible bug in NSTextField?
- Subject: Re: Possible bug in NSTextField?
- From: Mike Blaguszewski <email@hidden>
- Date: Tue, 25 Apr 2006 14:25:58 -0400
On Apr 25, 2006, at 2:07 PM, Jerrod Fowkes wrote:
When the user fills in the information I want the NSTextField and
the NSSecure* to go grey and not be editable / accessable. So, I
have the following code:
if (!signedIn)
{
[txtEmail setEditable: No];
[txtEmail setSelectable: No];
txtEmail setBackgroundColor: [NSColor grayColor]];
Are you sure you don't want [txtEmail setEnabled:NO]? That would be
the usual Cocoa way of doing it.
--
Mike Blaguszewski / Ambrosia Software, Inc.
_______________________________________________
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