Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by Paul Martin Trunz
Mon, 11 Jan 1993 10:11
TextField Problem
Author: Paul Martin Trunz
Date: Mon, 11 Jan 1993 10:11
Date: Mon, 11 Jan 1993 10:11
34 lines
1780 bytes
1780 bytes
Hello Ne(X)tland, I have a strange problem. In a Panel I have a few TextFields, some of them are strings, they work without any problem. The three last fields should contain int's, that's where my problem starts. From the first field the intValue-message returns the correct contents. From the second field, intValue returns 0 when the third is empty and the correct value if the third is filled. From the third field I always get 0. All fields are connected using the usual nextText, the last field additionally sends a performClick message to the OK-Button. What am I doing wrong ? Does it have something to do with editValidate ? I tried to setEntryType:NX_INTTYPE (not really sure about the name now, but something along these lines) these fields, but this is a method of a TextCell and the fields are TextFields and do not respond to it. How do I get a TextCell from IB ? Can one just change the Class-Type in IB's Attribute-Inspector to TextCell ? (This idea just crossed my mind and I cannot verify it now) any pointers greatly appreciated, and please respond by Email, I will summarize if there is interest in the responses. greetings Patru -- God created nothing, but he did a pretty good job at it. Email : trunz@inf.ethz.ch or PATRU@EZINFO.vmsmail.ethz.ch
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads