property ComPort : TApxCustomComPort
The comport component used by the script to send and receive data.
When the script is created it assigns the first comport component it finds on the form to ComPort. ComPort is also automatically filled in if a comport is created after the script component. If ComPort is unassigned when StartScript is called, StartScript dynamically creates a TApxComPort component and fills in ComPort.