• 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
NSTextField problems.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField problems.


  • Subject: NSTextField problems.
  • From: John Draper <email@hidden>
  • Date: Tue, 08 Feb 2005 16:48:12 -0800

Hi,

 In my application,  I extract information from a NSTextField like so....

   pw = [password stringValue];
   user = [userName stringValue];

pw and user are local variables in my "doLogin" function. I have no problem extracting
the strings from program control, except when I try to get them again, after they
were edited and changed. The next time I get them, it crashes... in the NIB
Attributes information on the NSTextField I have...


Send Action on - End editing
Options:  Editable and Enabled

Should I set "Send Action on" to "Enter only"? I tried that, it didn't seem to
make any difference.


John



_______________________________________________
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: NSTextField problems.
      • From: Magnus Strand <email@hidden>
    • Re: NSTextField problems.
      • From: Robbie Haertel <email@hidden>
  • Prev by Date: Re: Objective C class prefix
  • Next by Date: NSZone size question
  • Previous by thread: RE: Multiple Document Types
  • Next by thread: Re: NSTextField problems.
  • Index(es):
    • Date
    • Thread