hostnameresolver OnOnlineStatusChanged event
Return to Introduction  Previous page  Next page
Applies to
acHostnameResolver and acConnectionList components.  

property OnOnlineStatusChanged: TNotifyEvent;  

The OnOnlineStatusChanged event occurs when the component detects that machine become connected to Internet or connection lost.  
tip To get current online status at any time — read IsOnline property. True means that machine currently connected to Internet and False means that it disconnected.  

1. The online status monitoring only performed if MonitorActive property is True.  
2. Component checks online status with intervals specified in MonitorInterval property.  

See also
IsOnline, MonitorActive and MonitorInterval properties.