Re: Tab key intercept



JoeBananas wrote:

> thanks for the quick reply.
>
>
> That's fine but, KeyUp and Keydown don't fire when the tab key is
> pressed so how do I test GetKeyState when no event has fired.
>
> Thanks

I've used the Validation event before which will fire when a control is just
about to lose focus. In the Validation event, you can use GetKeyState API
and stop the control from losing focus if you need to.

Ben


.



Relevant Pages

  • Validation without Focus
    ... The only way to fire the validation event for a control seems to required ... that control receive the focus first. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Controling Event Sequencing...
    ... have it execute AFTER the OnClick in completely done ... ... control exposes this event to the programmer to allow him / her to capture ... immidiately fire after the programmer's - ItemChanged event ... ... I can use my custom event ueMyEventChanged to access the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Hmmmmm.........
    ... you have nothing to add with substantiating proof. ... the dozens of live television reports of multiple explosions as ... The fire was a joke. ... Control, fear, intimidation, false grounds for aggression ...
    (rec.audio.pro)
  • Military - Orders and Advancement.
    ... Actually I was unusual in that I made E-5 'honestly' as opposed to ... was a 3305 (Trident-I and Trident-I Backfit Strategic Missile Fire ... Control), but the FTB rate also included 3304 (Posiedon Fleet ... people were advanced via the test each cycle for a total of 4 E-5's ...
    (sci.space.history)
  • Re: Apollo One, the FBI, and Scott Grissom <- WARNING! TROLL! Probably Mary Zornio in drag again,
    ... >> prevent originals from being removed and it cut off the numbers. ... Scott never mentions it AFAIK. ... he had to fire it a second time. ... Control portion of the Static Fire test there is only one maneuver ...
    (sci.space.history)