D
David Webb
Hi,
I'm using the Keydown event on a form with a panel and scroll bar on
it, to trap the user pressing the hardware scroll buttons. It works
fine when the form is first loaded, however if the use selects a
control, then the scroll bar doesn't work on the form any more. Is
there a way of ensuring that the form always has focus so if the
scroll bars are pressed, the keydown event is fired as when the form
first loads?
Regards,
David.
I'm using the Keydown event on a form with a panel and scroll bar on
it, to trap the user pressing the hardware scroll buttons. It works
fine when the form is first loaded, however if the use selects a
control, then the scroll bar doesn't work on the form any more. Is
there a way of ensuring that the form always has focus so if the
scroll bars are pressed, the keydown event is fired as when the form
first loads?
Regards,
David.