Tab key intercept
- From: JoeBananas <SomeGuy@xxxxxxxxxx>
- Date: Fri, 23 Sep 2005 11:18:17 -0700
Ok, I've searched and searched and searched and can only find one
answer to this but I can't use that soluction.
I know the Tab key can only be intercepted in the KeyPress event and
not the KeyUp or KeyDown events. I know that all the controls on the
form have to have the TapStop property set to False in order to
capture the Tab key. But how can I intercept a Shift+Tab key
combination. KeyPress doesn't give you the Shift state only KeyUp and
KeyDown do. How can you really intercept the Tab key in the KeyUp and
KeyDown events.
The only way I've found is to hook the Message loop but that makes
debugging in the IDE near impossible.
Does anybody have a good idea for this?
Thanks!
.
- Follow-Ups:
- Re: Tab key intercept
- From: Jeff Johnson [MVP: VB]
- Re: Tab key intercept
- Prev by Date: Re: Print Screen
- Next by Date: Re: Folders- First layer only
- Previous by thread: Print Screen
- Next by thread: Re: Tab key intercept
- Index(es):
Relevant Pages
|
Loading