The user can scroll through the data by means of the ARROWS on the SPIN control in the Dialog. I want to assign the LEFT ARROW and RIGHT ARROW keys such that when they are pressed on the keyboard, the effect is the same as if the user had clicked on the corresponding ARROW on the Spin control.

So the problem is : How to get input from those two keys in a Dialog-based project?