Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!quiche!philwzo From: philwzo@cs.mcgill.ca (Philippe WIECZOREK) Newsgroups: comp.sys.next Subject: Re:Textfields and Texts... Precisions... Message-ID: <1991Mar21.141739.25092@cs.mcgill.ca> Date: 21 Mar 91 14:17:39 GMT Sender: news@cs.mcgill.ca (Netnews Administrator) Organization: SOCS, McGill University, Montreal, Canada Lines: 25 Originator: philwzo@homer I previuously asked a question about Textfields, texts and other stuff. I got several answers but, I am not sure the answers are so good. Anyway, I would like to thank every people that answered me. The most common answer I got was that the 'textObject' in the method textDidEnd:textObject endChar:whyend, was the sender of the textfield that had ended. This is true ! But the textObject outlets is not a textField ! It is a text ! So, I can not use Control methods like stringValue, intValue, and so on, since the text class does not heritate of control as textfiled does... So, my new question is: Is there a simple way of getting the string in a text. Philippe. P.S.: Someone asked me for posting a summary about this stuff. This will be done if I get enough interesting answers. -- philwzo@cs.mcgill.ca, School of Computer Science, McGill University, Speech Lab, Montreal, Qc, CANADA. --