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

Go to topic 54461

Return to index page 71
Return to index page 70
Return to index page 69
Return to index page 68
Return to index page 67
Return to index page 66
Return to index page 65
Return to index page 64
Return to index page 63
Return to index page 62