TApxModem.OnModemConnect

TApxModem

property OnModemConnect : TModemNotifyEvent
TModemNotifyEvent = procedure(
  Modem : TApxCustomModem) of object;

Defines an event handler that is generated when a connection is established.

The OnModemConnect event is generated when dialing or answering after the modem returns the connection response. This event is also generated after a call to ConfigAndOpen once the modem has been configured.

Modem is the TApxCustomModem component that generated the event. No other parameters are provided.

The TApxModem will watch for the connection responses as defined by the modemcap entry for the selected modem and by monitoring the DCD signal.

See also: AutoAnswer, ConfigAndOpen, Dial, OnModemDisconnect