VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Uses KeyCode Event To KeyDown - What keys are pressed and what vb should do.

by Me (3 Submissions)
Category: String Manipulation
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Sat 31st May 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Uses KeyCode Event To KeyDown - What keys are pressed and what vb should do.

API Declarations


what I just did.

Rate Uses KeyCode Event To KeyDown - What keys are pressed and what vb should do.



Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyP Then
MsgBox "You Pressed The 'P' Key."
End If
End Sub

Download this snippet    Add to My Saved Code

Uses KeyCode Event To KeyDown - What keys are pressed and what vb should do. Comments

No comments have been posted about Uses KeyCode Event To KeyDown - What keys are pressed and what vb should do.. Why not be the first to post a comment about Uses KeyCode Event To KeyDown - What keys are pressed and what vb should do..

Post your comment

Subject:
Message:
0/1000 characters