Hi there,
I have a form that runs code on a arrow keys keydown event so that a label is moved around a container. This has been working perfectly until I added my first command button. Now, the arrow keys simply serve to select the command button, and my code doesn't run any more.
The only workaround I've found for this so far is disabling the command button, but obviously, this isn't very practical, so how can I stop this happening?
Thanks.
I have a form that runs code on a arrow keys keydown event so that a label is moved around a container. This has been working perfectly until I added my first command button. Now, the arrow keys simply serve to select the command button, and my code doesn't run any more.
The only workaround I've found for this so far is disabling the command button, but obviously, this isn't very practical, so how can I stop this happening?
Thanks.