OnCom Event
Previous  Next

The OnCom event is raised when there is data in the receive buffer.
It will not be raised if the EnableOnComm property is not set to true.
Example:
Sub serial1_OnCom
            ...
End Sub