IrDA Framework
TwclIrDAReceiver.OnChange Property

The event fires when the state of the IrDA hardware is changed. To check real status an application should read the Available property.

property OnChange: TNotifyEvent;

As there can be more than one IrDA adapter connected to PC removing (or pluggin) any of them will fire the event. An application must use Available property to check if the IrDA subsystem is available or not (if there is at least one IrDA adapter connected).

Copyright (c) 2006-2019. All rights reserved.