In my project, I use a textbox to send a string to a serial port device. I also show the data from the serial port device on the same textbox. When sending data to the device I only need to send the values ​​entered from the keyboard.In short, how do I distinguish between characters entered from the keyboard and data on the textbox?

(I can say that I am trying to make a command client like cmd. The only thing I want is to be able to send and receive data from the serial port device via the same textbox.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.