home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8062 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.7 KB  |  46 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!mcsun!chsun!bernina!neptune!trunz
  3. From: trunz@inf.ethz.ch (Paul Martin Trunz)
  4. Subject: TextField Problem
  5. Message-ID: <1993Jan11.101100.26539@neptune.inf.ethz.ch>
  6. Sender: news@neptune.inf.ethz.ch (Mr News)
  7. Nntp-Posting-Host: brain3.inf.ethz.ch
  8. Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH
  9. Date: Mon, 11 Jan 1993 10:11:00 GMT
  10. Lines: 34
  11.  
  12.  
  13. Hello Ne(X)tland,
  14.  
  15. I have a strange problem. In a Panel I have a few TextFields, some of them
  16. are strings, they work without any problem. The three last fields should
  17. contain int's, that's where my problem starts.
  18. From the first field the intValue-message returns the correct contents.
  19. From the second field, intValue returns 0 when the third is empty and
  20. the correct value if the third is filled.
  21. From the third field I always get 0.
  22. All fields are connected using the usual nextText, the last field
  23. additionally sends a performClick message to the OK-Button.
  24.  
  25. What am I doing wrong ?
  26. Does it have something to do with editValidate ?
  27.  
  28. I tried to setEntryType:NX_INTTYPE (not really sure about the name now, but
  29. something along these lines) these fields, but this is a method of a
  30. TextCell and the fields are TextFields and do not respond to it.
  31.  
  32. How do I get a TextCell from IB ?
  33. Can one just change the Class-Type in IB's Attribute-Inspector to TextCell ?
  34. (This idea just crossed my mind and I cannot verify it now)
  35.  
  36.     any pointers greatly appreciated, and please respond by Email, I will
  37.     summarize if there is interest in the responses.
  38.  
  39.     greetings
  40.  
  41.                           Patru
  42. -- 
  43. God created nothing, but he did a pretty good job at it.
  44.  
  45. Email : trunz@inf.ethz.ch       or        PATRU@EZINFO.vmsmail.ethz.ch
  46.