You should sign up on the Palm Developer Web site and send in the NDA
to get the source code for the ROM, so you can figure these things
out. It is very helpful.
According to the source, you simply have locked the handle that the
field is using. When you give a handle to a field, using
FldSetTextHandle or FldSetText, it expects the handle to be unlocked
and remain unlocked while the field has control of it. The field will
lock and unlock the handle as it needs to. Sometimes it will grow the
handle (like when the user is typing in it), at which time it needs
the handle to be totally unlocked. If you have it locked, it can't
grow the handle.
The one case where you can pass a locked handle is if the field is
not editable, and you do not make any Fld* calls which might change
the text in the field.
To remove control from the field, call FldSetTextHandle (NULL)
Shannon
>Hi
>
>I'm using Gremlins to test my app. It is getting a number of the above
>errors. It always seems to get it when using the keyboard function.
>Can anyone shed some light as to what I should look for. I am using V2.1d29
>of the emulator.
>
>Thanks in advance
>
>Jeffrey Ho
>Research and Development
>[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hands High Software
Award winning software for the Palm(tm) Computing platform
<http://www.handshigh.com/>
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~