Private Sub Form_Load()
Text1.Visible = False
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
'พิมพ์ตัวอักษร ก็ให้ Text1.Visible = True พร้อมๆ กับตัวอักษรที่พิมพ์ไปเลย ไม่ต้องรอตัวที่ 2 ค่ะ
Text1.Visible = True
End Sub
ขอบคุณค่ะ
Tag : .NET, Ms Access, VBScript, Win (Windows App), VB.NET
Private Sub Form_Load()
Text1.Visible = False
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Dim str As String = chr(KeyCode)
Text1.Visible = True
Text1.Text = str.ToString
End Sub
Private Sub Form_Load()
Text1.Visible = False
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Text1.Visible = True
Text1.Text = Chr(KeyCode)
End Sub