Hey all me again!
Trying to give my web browser a facelift so it doesn't look like cat crap, but I can't get the picturebox to work as a button.
Doesn't seem to work... throws an error saying: "'PerformClick' is not a member of 'System.Windows.Forms.PictureBox'."
Any way to fix this, or make it work AT ALL?
Thank you for taking your time to read my post.
Trying to give my web browser a facelift so it doesn't look like cat crap, but I can't get the picturebox to work as a button.
Code:
Private Sub PictureBox2_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles PictureBox2.KeyDown
If e.KeyCode = Keys.Enter Then
PictureBox2.PerformClick()
End If
End Sub
Any way to fix this, or make it work AT ALL?
Thank you for taking your time to read my post.