|
Subject:
|
user control Key Down
|
|
Posted By:
|
buvana
|
Post Date:
|
1/4/2007 7:26:41 AM
|
I am creating a user control in VB.NET for a windows form. I want to handle the Keydown and Keyup events for the user control within the control. I have tried caoturing events for the control and on the form but neither of them seem to be firing when I press a key. So if I have a user control on a form and I press the key. Where should I expect to see the Keydown event fire?
V.Buvaneswaree
|
|
Reply By:
|
Pomegranete
|
Reply Date:
|
1/7/2007 5:15:29 PM
|
If you double-click the user control, and get faced with the coding, go to the "Private sub......" section, click there, somewhere, and up at the top right, you can pick from the event list. Keydown and Keyup are both there.
Pomegranete
|