TApxModem.ComPort

TApxModem

property ComPort : TApxCustomComPort

Determines the serial port to which the modem is connected.

ComPort is usually set automatically at design time to the first TApxComPort component the TApxModem finds on the form. If necessary, use the Object Inspector to select a different TApxComPort component.

Setting the ComPort property at run time is necessary only when using a dynamically created TApxComPort or when selecting among several TApxComPort components.

Note that some properties of the TApxComPort may be overridden with properties retrieved from modemcap when the TApxModem initializes the modem.