TApxProtocol.InProgress

TApxProtocol

property InProgress : Boolean

Returns True if a protocol is currently in progress.

A property such as this is important because Async Professional CLX protocols run in the background. A call to StartTransmit or StartReceive returns immediately to your code. Either a polling loop that checks InProgress or an OnProtocolFinish event handler to detect when the protocol has finished can be used.

See also: OnProtocolFinish