No text entered in fields upon keypresses
Posted: Sun Oct 28, 2018 1:46 am
Hi
I have encountered a problem in my project that I can't fix after trying solutions on my own.
In the IDE, when I go from one card to another for the first time and type in an unlocked field that was given focus by script, or click in an unlocked field, text appears normally as I press keys, but when I leave the card and return to it, no characters are entered in the focused field or any other focused field as I press the keys. If I save the stack, or open and close the script editor of any control, or even just select the focused field or indeed any control at all on the card in edit mode and return to browse mode, the problem is fixed: I can enter text in fields when before I could not. There are no keydown, keyup, etc. handlers that could be trapping the keydown message, as far I as know. There is a grouped control on the card that has a keydown handler that adjusts the heights of the grouped fields within it when text is entered, but (1) the script for the group has a keydown handler that passes the event and (2) this behavior occurs in fields outside the the grouped control. Any suggestions would be much appreciated.
Monty
I have encountered a problem in my project that I can't fix after trying solutions on my own.
In the IDE, when I go from one card to another for the first time and type in an unlocked field that was given focus by script, or click in an unlocked field, text appears normally as I press keys, but when I leave the card and return to it, no characters are entered in the focused field or any other focused field as I press the keys. If I save the stack, or open and close the script editor of any control, or even just select the focused field or indeed any control at all on the card in edit mode and return to browse mode, the problem is fixed: I can enter text in fields when before I could not. There are no keydown, keyup, etc. handlers that could be trapping the keydown message, as far I as know. There is a grouped control on the card that has a keydown handler that adjusts the heights of the grouped fields within it when text is entered, but (1) the script for the group has a keydown handler that passes the event and (2) this behavior occurs in fields outside the the grouped control. Any suggestions would be much appreciated.
Monty