From Xojo Documentation
| This item was deprecated in version 2019r2.
Please use SerialConnection.Parity as a replacement.
Property (As Integer )
The parity that is being used.
|Changing property values does not automatically change the state of the hardware, you must call Reset or re-Open the connection in order for the change to take effect.|
You can use the following class constants instead of the numbers to check or set the parity. They are:
This example sets the parity in the Open event of the window.
Serial1.Parity = Serial.ParityOdd