Application form runs PopupForm.ShowDialog() which has basicLabel mapped to PLC address. Click on basicLabel brings up virtual keypad.
I pass the modbusTCPCom component by setting to a static variable, then on PopupForm.Load, set the basicLabel.CommComponent from the static variable.
The basicLabel displays "CommComponent Property not set" when Enter is pressed on the keypad.
It should work? If not, is there a workaround other than dropping a modbusTCPCom component onto PopupForm and run another instance of Modbus server for the new TCP port.