I had a similar problem with edit fields.   To regain the blinking cursor, I
set the focus to another field, then set it to the one I really wanted.
Voila, the blinking cursor returned.  I looked at the Palm OS source code
and understand why this works... can't say anymore without violating NDA.

Not sure kludgey fix will work with tables.  Good luck.

Michael Yam
Y Technology, Inc.
[EMAIL PROTECTED]


-----Original Message-----
From: Fawcett, Mitch <[EMAIL PROTECTED]>
To: 'PalmDevForum' <[EMAIL PROTECTED]>
Date: Monday, May 03, 1999 3:58 PM
Subject: Returning focus to a field


Has anyone encountered anomalous behavior when returning to a form as in the
following:

Scenario #1)
FormA is opened and a table item is selected.
FormA calls FrmPopupForm (FormB).
FormB calls a FrmReturnToForm (FormA) and tries to put the focus and an
insertion point in a field on FormA.  However the insertion point does not
appear in the field. There is no complaint from Palm.

Scenario #2)
The exact same scenario as above except FormA starts off without a table
item being selected.
In this case there is no problem with FormB returning to FormA and having
the insertion point show up in the field on FormA.

I don't expect a whole lot of thinking on this one, just has anyone seen
anything like this happen before I go into a major code hunt.

Thanks.


Reply via email to