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

Re: NSTextField problems.


  • Subject: Re: NSTextField problems.
  • From: Robbie Haertel <email@hidden>
  • Date: Tue, 8 Feb 2005 19:46:41 -0700

try [[password stringValue] copy]

best,
Robbie


On Tue, 08 Feb 2005 16:48:12 -0800, John Draper <email@hidden> wrote:
> 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
>
 _______________________________________________
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

References: 
 >NSTextField problems. (From: John Draper <email@hidden>)

  • Prev by Date: Re: Disclosure triangles?
  • Next by Date: Re: IB subviews?
  • Previous by thread: NSTextField problems.
  • Next by thread: Re: NSTextField problems.
  • Index(es):
    • Date
    • Thread