D
Doug Bell
Hi,
I have just built a small application with a form that has one Text Box and
one Check Box and a couple of Command Buttons.
What I am trying to achieve is that if the Text Box has focus and the User
hits the "Enter" button the focus will move to the next Tab item (i.e. the
Check Box). Likewise on the Check Box but obviously if a Command Button has
the focus, it will initiate the Click event
I have set the Forms CancelButton to the button that closes the form and I
have its AcceptButton set to none.
Do I have to trap every keystroke and test for "Enter"? Or is there a
property that I am missing?
Thanks
Doug
I have just built a small application with a form that has one Text Box and
one Check Box and a couple of Command Buttons.
What I am trying to achieve is that if the Text Box has focus and the User
hits the "Enter" button the focus will move to the next Tab item (i.e. the
Check Box). Likewise on the Check Box but obviously if a Command Button has
the focus, it will initiate the Click event
I have set the Forms CancelButton to the button that closes the form and I
have its AcceptButton set to none.
Do I have to trap every keystroke and test for "Enter"? Or is there a
property that I am missing?
Thanks
Doug