Question...because I haven't tried this yet...but planning to.  If the 
Field text is NULL, will you get this error?
I would suspect that if you set the field text to "" empty string, you 
might not get the error.

James

Daniel Morais wrote:

>Hi !
>
>I tried to look at the mailing list archives to see if this problem was 
>already mentionned, but it seems escribe.com is down, so sorry if this has 
>already been discussed before.
>
>Here is the problem I'm having with a Field :
>
>When I call FrmSetFocus, to make the cursor blink and appear at the start of 
>the Field, I got the error message : invalid insertion point position.
>
>The application works fine on a real device or on Pose with a release ROM, 
>but I prefer when I have no error message at all !
>:)
>
>I have tried everything mentionned in the doc and the knowledge base and I 
>really don't understand what's wrong with the way I'm using this field.
>
>( It's a normal Field accepting user input, the only special attribute it has 
>is NUMERIC ).
>
>I have looked at the Palm OS Source, to see what this error meant, and as it 
>seemed to be relative to the insertion point coordinates, I tried to set it 
>before calling FrmSetPosition.
>
>I tried to call FldSetInsertionPoint, FldSetInsPtPosition and even to write 
>directly into fldPtr->insPtYPos but I'm still having the error message...
>
>Any suggestion ?
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to