• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Possible bug in NSTextField?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Possible bug in NSTextField?
      • From: Jerrod Fowkes <email@hidden>
References: 
 >Possible bug in NSTextField? (From: Jerrod Fowkes <email@hidden>)

  • Prev by Date: Re: Animated split view collapsing
  • Next by Date: Re: appicationDidFinishLaunching?
  • Previous by thread: Re: Possible bug in NSTextField?
  • Next by thread: Re: Possible bug in NSTextField?
  • Index(es):
    • Date
    • Thread