Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to capture TAB ?

Status
Not open for further replies.

Oneleg

Programmer
Oct 15, 2007
10
SE
How can I capture the TAB key if it's pressed inside an editbox?

I try to capture it in OnKeyPress, but when I press TAB it doesn't even enter that code...

I have tabstop = false because I want to treat the TAB in my own way. But where can I do that?
 
Found it out...

Always try "everything".. I had tried to capture it in OnKeyDown but it didn't work.

But I can capture it in OnKeyUp! Problem solved..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top