Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

KeyUp Question

$
0
0
I'm using the KeyUp event for something trivial (if the Control key is down, clear a Boolean). In one situation, the Boolean wasn't being cleared, but that was understandable, since the KeyUp event never happened.

As a general rule, this is relatively insignificant. The KeyUp event never fires if pressing a key launches some sufficiently long-running process in the KeyDown event, or something like that. I can get around this pretty easily, in this case. What I am wondering is whether or not there is a more universal alternative? Since the KeyUp event is not guaranteed to necessarily ever follow the KeyDown, is there any event that will ALWAYS follow a KeyDown?

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>