RThreshold

This property sets and returns the number of characters to receive before the Comm control sets the CommEvent property to comEvReceive and generates the OnComm event.

Syntax

object.RThreshold [= value]

Parameters

object
Object expression that evaluates to a Comm control.
value
Integer expression from 0 through 999,999,999 that specifies 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 Comm control to generate the OnComm event every time a single character is placed in the receive buffer.