Private Sub CmdSend_Click()
'传送字符
MSC.InBufferCount = 0
If MSC.PortOpen = True Then
    MSC.RThreshold = 1
    MSC.Output = Trim(Txt.Text)
End If
End SubPrivate Sub MSC_OnComm()
Select Case MSC.CommEvent
    Case comEvReceive
        Lab.Caption = Lab.Caption & MSC.Input
End Select
End Sub我已经将 settings 设置为9600,n,8,1
RThreshold 设为 1
我要实现的功能是:按CmdSend按钮之后,Txt.Text的内容会出现在 Lab.Caption 中。但是运行完 CmdSend_Click()
之后,它不会促发 MSC_OnComm() 事件。我刚接触这个东西,不知道怎么回事,各位,帮帮忙。。