Catching shift-tab in Textbox KeyDown event

  • Thread starter Thread starter Michael Howes
  • Start date Start date
M

Michael Howes

I'm trying to handle a number of keystrokes in a TextBox and for other
reasons I'm using the KeyDown

I'm trying to know when Shift-Tab is pressed and the following code doesn't
work

if ( ( e.KeyData == Keys.Tab ) )

{

if ( e.Shift )

{

}

else

{

}

}

how can I catch Shift-Tab?

thanks

mike
 
Back
Top