• 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: NSEditText will not be enabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSEditText will not be enabled


  • Subject: Re: NSEditText will not be enabled
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 2 Jul 2001 12:55:27 +0200

On lundi, juillet 2, 2001, at 07:54 AM, Ivan Myrvold wrote:

I am setting an NSTextField to not be enabled in IB. But I can not get it to be enabled in code. Is that a bug?

Neither [[self myTextField] setEnabled:YES], nor [[self myTextField] setEditable:YES] is working.

When I face such a problem, the reason is always one of these:

- the outlet is not connected to the controller
- different spelling between the source code and the nib


References: 
 >NSEditText will not be enabled (From: Ivan Myrvold <email@hidden>)

  • Prev by Date: object ownership question
  • Next by Date: Re: Getting the user's name from cocoa
  • Previous by thread: NSEditText will not be enabled
  • Next by thread: please unsubscribe
  • Index(es):
    • Date
    • Thread