Visual Basic: MSComm Control
RThreshold Property
See Also Example Applies To
Sets and returns the number of characters to receive before the MSComm control sets the CommEvent property to comEvReceive and generates the OnComm event.
Syntax
object.Rthreshold [ = value ]
The Rthreshold property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | An integer expression specifying the number of characters to receive before generating the OnComm event. |
Remarks
Setting the RThreshold property to 0 (the default) disables generating the OnComm event when characters are received.
Setting RThreshold to 1, for example, causes the MSComm control to generate the OnComm event every time a single character is placed in the receive buffer.
Data Type
Integer