Catching shift-tab in Textbox KeyDown event

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top