VB中如何在文本框里按TAB键显示出"TAB"字符?

2025-05-14 17:35:29
推荐回答(1个)
回答1:

Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 9 Then Text1 = "Tab"
End Sub