« elsdoerfer.name


TConsole is a Delphi VCL component simulating a text console interface. There is no support for scrolling or copy & paste.

Interaction with your application mainly happens via events - for example, everytime a prompt is needed, the OnGetPrompt event handler is called. Your commands may be interactive, meaning they can request user input while they are running, and the console will not return to the prompt until the command is terminated. However, all interaction with the user is limited to a single line, so it is not possible to implement, say, a text editor as a TConsole command.

While the component was written and tested in Delphi 7, it should also compile with previous versions. If you try it and can confirm a particular version working or not working, feel free to drop me a line.