>I'm getting "Field.c, Line:5321, Bad field selection" with Palm OS 3.5 dr 4.

Are you sure you're using dr4? Line 5321 is right in the middle of a
comment block :-)  But in any case, the only matching message is right at
the start of FldSetSelection, lines 5344 & 5345, and this is its check:
        ErrNonFatalDisplayIf(startPosition > fldP->textLen || endPosition >
fldP->textLen,
                "Bad field selection");

>I had a look at the field in question and it has textLen, selFirstPos and
>selLastPos all equal to 6.

startPosition and endPosition are the parameters passed in.  So I'm not
sure why you're seeing what you're seeing, if indeed the parameters are as
you say.  Probably worth double-checking.

-David Fedor
Palm Developer Support



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to