frm_input.frm
来自「通过串口与手机模块收发短信。已经用sim100测试过」· FRM 代码 · 共 46 行
FRM
46 行
VERSION 5.00
Begin VB.Form Frm_Input
Caption = "Form1"
ClientHeight = 4875
ClientLeft = 60
ClientTop = 345
ClientWidth = 6030
LinkTopic = "Form1"
ScaleHeight = 4875
ScaleWidth = 6030
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text2
Height = 1815
Left = 120
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 1
Top = 3000
Width = 5775
End
Begin VB.TextBox Text1
Height = 2895
Left = 120
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 0
Top = 120
Width = 5775
End
End
Attribute VB_Name = "Frm_Input"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Text2_KeyPress(KeyAscii As Integer)
Text2 = Text2 & Chr(KeyPress)
If Frm_Main.MSComm1.PortOpen Then
Frm_Main.MSComm1.Output = KeyAscii
End If
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?