property ComPort : TApxCustomComPort
Defines the serial device to which the terminal is connected.
ComPort is usually set automatically at design time to the first TApxCustomComPort descendant component the terminal component finds on the form. If necessary, use the Object Inspector to select a different TApxCustomComPort descendant component.
Setting the ComPort property at run time is necessary only when using a dynamically created TApxCustomComPort object or when selecting among several TApxCustomComPort descendant components.
Note that setting the value of ComPort may not be enough to get the terminal to display data. The terminal must be activates by ensuring that Active is set to True, and a terminal emulator component must be supplied by setting the Emulator property to process the incoming data stream.