StopScan Event
Fired when the component stops scanning.
Syntax
type TStopScanEvent = procedure ( Sender: TObject; ErrorCode: Integer; const ErrorDescription: String ) of Object;
property OnStopScan: TStopScanEvent read FOnStopScan write FOnStopScan;
Remarks
This event is fired when the component stops scanning. If the scanning stopped due to an error, the ErrorCode and ErrorDescription parameters will be set accordingly; otherwise they will be 0 and empty string. Refer to the StopScanning method for more information.