Hi Michael,
Your current code in the input field takes the focus away from the second list field because of the
You can avoid setting the focus to listField1 with this code that does not take focus away from the second listfield when clicking on a line in it
I find it a bit unusual to do data entry using "closeField". I would do the data entry on for example using
That way data entry is done and does not interfere with focus etc.
And the user sees right away what has changed (typos included) and not after the user has done anything that triggers "closeField".
Unless of course you have a special reason to use "closeField" as trigger.
Kind regards
Bernd
Your current code in the input field takes the focus away from the second list field because of the
CODE:
select line 4 of fld listField1
CODE:
on closeField updateTitleend closeFieldon updateTitle put me into line 4 of fld listField1 --select line 4 of fld listField1 set the hilitedLine of field listField1 to 4end updateTitle
CODE:
on returnInField updateTitleend returnInFieldon enterInfield returnInFieldend enterInfield
And the user sees right away what has changed (typos included) and not after the user has done anything that triggers "closeField".
Unless of course you have a special reason to use "closeField" as trigger.
Kind regards
Bernd
Statistics: Posted by bn — Sat Feb 15, 2025 11:44 am