I.T. Discussion Community!
NewbCoder [Unspecified] -Collapse +Expand
-Collapse +Expand
NewbCoder
-Collapse +Expand Profile
Member Info
Member Narration

POSTS:
MB Posts (1)◄╣

Search NewbCoder:

Advanced
   ► MB Lobby   Print This     

NewbCoder Message Board Activity

  


1 Message Board Posts:


Thread 1 of 1
Thread Starter or a Reply (but not last)  Group

NewbCoder
Keystroke capture
I need a function that either disables every keystroke, and keystroke combination, other than keystrokes that I specify, or captures the keystrokes and sends them to any desired function. Any help is appreciated. Thanks in advance
16 years ago

cheddar
the form keydown event is what you want. Set the form KeyPreview to true and this event will capture the key events first. From this event you can check the key that is down and make the decision about what function to call. You can then set the keycode to 0 to cancel the keypress.
16 years ago
Nothing New Since Your Last Visit
7469
Hits

Visual Basic Classic

Follow PrestwoodBoards on: 


©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech