"Van Nguyen" <[EMAIL PROTECTED]> wrote in message
news:39749@palm-dev-forum...
>
> Greetings,
>
> In my program I have a field which displays raw text
> messages coming from the serial port. The first time
> the form contains the field initialized, I call
> FrmSetFocus to have the cursor appears in the Field.
> This is fine.
>
> After the field displays the incoming serial messages,
> then the cursor disappears. I check and see the field
> still has focus, and call FldGrabFocus again, but I do
> not see the cursor. I also try to call FrmSetFocus
> again, but no luck.
>
> I know that there is something wrong, but I can't
> figure it out. Please help me !
> Thanks!
Are you adding your text from the serial port to the field by directly
changing the text handle or by using FldInsert? The second method could
leave your cursor off screen if the text is large enough. You may want to
move the cursor back to the beginning of the field.
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/