|
-
Jun 3rd, 2005, 02:14 PM
#1
Thread Starter
Lively Member
Basic Key Pressing Event?
Does anybody know which event fires in VB when you press a key at any given time, without it having to be in a text box or combo box?
Last edited by ChR0NiC; Jun 3rd, 2005 at 02:43 PM.
-
Jun 3rd, 2005, 02:18 PM
#2
Addicted Member
Re: Basic Key Pressing Event?
Hi,
Assuming that a form's property: KeyPreview is true then the form-keypress event will fire and then control' keypress events.
Have a good one!
BK
-
Jun 3rd, 2005, 02:42 PM
#3
Software Eng.
Re: Basic Key Pressing Event?
Otherwise it goes to the active control's KeyPress or KeyDown event (if they have one).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|