SComm32 Communications OCX
Properties/Methods . Break . CDHolding . Commevent . CommName . CommPort . CTSHolding . DSRHolding . DTREnable . EOFChar . EOFEnable . EvtChar . EvtCharEnable . Handshaking . InBufferCount . InBufferSize . Input . InputLen . InputMode . NullDiscard . OutBufferCount . OutBufferSize . Output . OverlappedIO . ParityReplace . PortOpen . Read . RThreshold . RTSEnable . Settings . SThreshold OnComm Event Hardware/Cables etc Loopback Test Plug
SThreshold
Sets or Retrieves the number of bytes remaining in the transmit buffer below which an OnComm event is raised.
MSComm32 and SComm32 have the same syntax and functionality.
SComm1.SThreshold = value
value:-
A numerical expression indicating the SThreshold number of bytes.
Examples:-
SComm1.SThreshold = 0 '// OnComm events will not be triggered.
SComm1.SThreshold = 1 '// OnComm events will be triggered when the last character is transmitted.
Remarks