OnPortLost Event

This event is triggered when a COM port is removed while it is opened (e.g. using USB to Serial cable).

Syntax

Delphi
OnPortLost(Sender: TObject);
BCBuilder
OnPortLost(TObject * Sender);

Parameters

Sender

Event source.