I.T. Discussion Community!
-Collapse +Expand
NewbCoder
NewbCoder
Parent Co: NewbCoder
Search NewbCoder:

Advanced
-Collapse +Expand More Board Options
MOREINFO...
-Collapse +Expand My Moderator Settings
MODERATOROPTONS

BOARDSTATS
Posts: 15785
Threads: 4664
Topics: 95
Boards: 34
Groups: 34
 
   ► MB Lobby ► This Topic!  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