property Emulator : TApxTerminalEmulator
Defines the terminal emulator that processes incoming data.
The terminal component is merely a conduit between the serial device defined by the ComPort property and the terminal emulator defined by Emulator. The terminal component also provides the widget handle and the canvas that the emulator will use to draw the terminal display.
The emulator processes the input data stream looking for terminal control sequences. It will then use the terminal component's widget handle to paint a representation of the terminal screen. The terminal component also traps keystrokes and passes them to the emulator. The emulator will then convert these keystrokes into valid messages or sequences for the host computer and use the terminal's ComPort to pass them back.
The Emulator property is usually set automatically at design time to the first TApxTerminalEmulator descendant component the terminal component finds on the form. If necessary, use the Object Inspector to select a different TApxTerminalEmulator descendant component.
Usually, setting the Emulator property at run time is necessary only when switching between different terminal emulations. The terminal does not clear the display at such times; it is up to the new terminal emulator to reset its buffer and to display the cleared screen.
Note that setting the value of Emulator may not be enough to get the terminal to display data. The terminal must be activated by ensuring that Active is set to True and a COM port component must be supplied by setting the ComPort property to an appropriate TApxCustomComPort component.