home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / Misc / HigherEducationMailbox.mbox / Archives_provide_val_.attach / May_91 / appkit.507 < prev    next >
Text File  |  1991-05-21  |  765b  |  20 lines

  1. {\rtf0\ansi{\fonttbl\f2\fnil Times-Roman;\f1\fmodern Courier;}
  2. \paperw13520
  3. \paperh5620
  4. \margl120
  5. \margr120
  6. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f2\b0\i0\ul0\fs28 textfield tag text delegate\
  7. \
  8. Q:  How can I determine which TextField is being edited, while performing a delegate method such as textWillEnd: or textDidChange:?\
  9. \
  10. A: All of TextField's delegate methods send the Text object as an argument.  You can message this Text object to get ITS delegate, which has been set to the id of the TextField being edited.\
  11. \
  12. QA507\
  13.     \
  14.  
  15. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520 Valid for 1.0\
  16. Valid for 2.0\
  17.  
  18. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520 \
  19.  
  20.