Re: (no subject)
Re: (no subject)
On Fri, Apr 12, 2002 at 04:26:37AM -0700, praveena tandon wrote:
>
hai all,
>
i am developing a application in cocoajava , i got
>
the caption of the button( wihch is number )in a
>
textefield.i want to convert the string to an int .
>
which method i can use ??
Just send the NSTextField intValue. See the definition of NSControl -
you can send any control doubleValue, floatValue, intValue, or
stringValue and it'll convert the control contents to that type if it
can.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >(no subject) (From: praveena tandon <email@hidden>) |