AndrewMozley
Programmer
I have a grid where I can Key “B” <Enter> into Column7.text1. If I do this, the Valid() method does various things and then moves focus to Column 6 with :
KEYBOARD '{LEFTARROW}'
This works. I would however like to take this action without the user have to press <Enter>. Have tried setting the input mask of Column7.text1 to “A”, but find that I still need to press the <Enter> key. So I have then included code in the “InteractiveChange” method to invoke the Valid() method immediately.
This works as far as taking immediate action is concerned. But I am finding that the KEYBOARD '{LEFTARROW}' is no longer having the desired effect, even though the Interactive change() method is detecting this and exiting immediately with DoDefault().
I feel that I am probably overcomplicating things. How can I arrange that a text box in a grid responds to a single character, and (for one of these characters), causes the position on the grid to move to a different column (in this case, the one to the immediate left)?
Thanks.
KEYBOARD '{LEFTARROW}'
This works. I would however like to take this action without the user have to press <Enter>. Have tried setting the input mask of Column7.text1 to “A”, but find that I still need to press the <Enter> key. So I have then included code in the “InteractiveChange” method to invoke the Valid() method immediately.
This works as far as taking immediate action is concerned. But I am finding that the KEYBOARD '{LEFTARROW}' is no longer having the desired effect, even though the Interactive change() method is detecting this and exiting immediately with DoDefault().
I feel that I am probably overcomplicating things. How can I arrange that a text box in a grid responds to a single character, and (for one of these characters), causes the position on the grid to move to a different column (in this case, the one to the immediate left)?
Thanks.