Hello, I am new to the forum. Please let me know if I am not following any best practice rules for posting.
I am using a boolean object variable to execute some repetitive code if the user holds down either the keyboard arrow keys, or some command buttons on a form (user's choice). The user enters a number in a textbox and can use the keyboard arrows or the command buttons to move a few controls around. The repetitive code seems to work well. However, I would like the number in the input textbox to be highlighted after the user stops pressing the arrow or command button, and this does happen after the user lets go of any of the command buttons, as well as the up arrow on the keyboard, but not the right, left, or down arrows . Any ideas?
I want the number to be highlighted so the old number is erased as the new number is entered.
Any help would be much appreciated. Thanks!
I am using a boolean object variable to execute some repetitive code if the user holds down either the keyboard arrow keys, or some command buttons on a form (user's choice). The user enters a number in a textbox and can use the keyboard arrows or the command buttons to move a few controls around. The repetitive code seems to work well. However, I would like the number in the input textbox to be highlighted after the user stops pressing the arrow or command button, and this does happen after the user lets go of any of the command buttons, as well as the up arrow on the keyboard, but not the right, left, or down arrows . Any ideas?
I want the number to be highlighted so the old number is erased as the new number is entered.
Any help would be much appreciated. Thanks!