02-25-2009 11:25 PM
I want a *.uir that behaves like a DOS terminal (80x24 characters) and accepts data from the keyboard and from a serial COM port.
Is it possible to use a text window and directly type in text that is then sent out a serial COM port and also display the received data (in a different color) from the COM port in the same text window?
My initial findings is that I require a send button to write the data to the serial port. Can an <Enter> be used instead of a send button?
02-26-2009 03:24 AM
you should be able to achieve your goal with a multiline text box: write an event callback function for your text box, and test for an EVENT_KEYPRESS event. if the key pressed is ENTER (eventData1 == VAL_ENTER_VKEY) then perform the action.
02-28-2009 08:06 PM
Thanks.
I decided to use a List Box so that I can have different color text for Tx and Rx.