How capture down arrow key?

  • Thread starter Thread starter VB Programmer
  • Start date Start date
V

VB Programmer

I have a text box. If the user hits the down arrow while in the text box I
want to process some code.

In the KeyPress event of the text box how do I capture the down arrow (I
assume Keys.Down)?

Thanks.
 
Hi VB programmer

This I did send some minutes ago on almost the same question

Private Sub textbox1_KeyUp(ByVal sender As Object, _
ByVal e As System.Windows.Forms.KeyEventArgs) Handles textbox1.KeyUp
If e.KeyCode = Keys.F1 Then

I would say try it yourself for the downarrow.

I hope this helps

Cor
 
Back
Top