Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: vbinputtext Download
 Description: VB only allows only the input of Chinese characters, other characters enter invalid input Chinese when the program seems to do nothing, but when you enter the state law is not Chinese, English or about to enter when other characters will immediately pop up a message box, you are only allowed to enter the Chinese told in many VB applications, the input character type of restriction is necessary, which can effectively improve the quality of the input. Achieved when the key code: Private Sub Text1_KeyPress (KeyAscii As Integer) If KeyAscii> 0 And KeyAscii <> 13 And KeyAscii <> 8 Then KeyAscii = 0 MsgBox "only allowed to input Chinese characters!", 48, "prompt" End If End Sub
 Downloaders recently: [More information of uploader cpudn19]
 To Search:
File list (Check if you may need any files):
 

只允许输入汉字\Form1.frm
..............\MSSCCPRJ.SCC
..............\工程1.vbp
..............\工程1.vbw
只允许输入汉字
    

CodeBus www.codebus.net