keydown event

  1. R

    Check is Keys are pressed in KeyDown Event

    Hi Guys, How to know if i enter a text after i press Enter Private Sub RichTextBox1_KeyDown(sender As Object, e As KeyEventArgs) Handles RichTextBox1.KeyDown If e.KeyCode = Keys.Enter Then 'check here if i enter a text End If End Sub Thanks guys,
  2. J

    Question KeyDown Event on another Window

    Hi all. I am wondering if it was possible to, for exemple : if I press F1 on another program like, internet explorer, it will open music. When I press F1 on my Windows Form(My program), It work fine and it play my music but when i'm on internet explorer or anything else it doesn't work and I am...
Back
Top