Sets and returns the number of characters to receive before the Comm control sets the CommEvent property to comEvReceive and generates the OnComm event.
object.Rthreshold [ = value ]
The parts of the Rthreshold property syntax are described in the following table.
Part | Description |
---|---|
object | An object expression that evaluates to an object. |
value | An integer expression specifying the number of characters to receive before generating the OnComm event. |
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 Comm control to generate the OnComm event every time a single character is placed in the receive buffer.
Integer