机房搬迁适合的税率:如何写VB用回车键代替鼠标的click事件的程序
来源:百度文库 编辑:神马品牌网 时间:2024/10/06 09:08:42
找到控件的KeyPress事件:如文本控件
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
你要click的代码
End If
End Sub
编辑keypress 属性:
ch<13>即可
神马品牌网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:神马品牌网 时间:2024/10/06 09:08:42
找到控件的KeyPress事件:如文本控件
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
你要click的代码
End If
End Sub
编辑keypress 属性:
ch<13>即可