Gremlins testing revealed a problem in one of my apps. I have an
editable field. I initialize the field with a handle containing a
string, i.e.
StrCopy(MemHandleLock(h), "0");
MemHandleUnlock(h);
FldSetTextHandle(fld, h);
The handle is large enough to hold 10 characters. If I set the focus on
that field, then pop up the on-screen keyboard and enter any character,
then hit Done on the keyboard, I get
Field.c line 5321, Bad field selection
I've made sure the field is high enough for the font (font 0, field is
13 pixels high). This does not happen on the 3.3 debug ROM. I'm using
GCC/prc-tools 0.5.0, and Pilrc 2.4.
This is very frustrating, because it seems to be out of my control.
Does anybody have any ideas what is causing this, and how to fix it?
I've not tried it on the 3.5 non-debug ROM. What is the recommendation
for doing gremlins testing? Use the debug ROM, or the non-debug?
Thanks!
--
Roger Chaplin
<[EMAIL PROTECTED]>