J
Jeff Gaines
I want to create something that acts like a Command Window where users can
enter text and on hitting return some action will be taken depending on
the text that was entered. I will also want to write back to the
'console'. I don't want users to be able to cursor all over the console -
I want to capture the up/down keys and put previous text in to the console
- in fact I want it to pretty well be a command window but with control
over what goes into it.
I've tried a RichTextBox but the user can move the cursor at will. I have
also tried a User Control with a disabled RichTextBox and a Text Box for
input at the bottom - control is much better but the user doesn't get the
feel that he/she is typing in to a console window.
Has anybody written/come across anything like this? I have had a look on
Code Project but I suspect I may not be using appropriate search terms.
Many thanks.
enter text and on hitting return some action will be taken depending on
the text that was entered. I will also want to write back to the
'console'. I don't want users to be able to cursor all over the console -
I want to capture the up/down keys and put previous text in to the console
- in fact I want it to pretty well be a command window but with control
over what goes into it.
I've tried a RichTextBox but the user can move the cursor at will. I have
also tried a User Control with a disabled RichTextBox and a Text Box for
input at the bottom - control is much better but the user doesn't get the
feel that he/she is typing in to a console window.
Has anybody written/come across anything like this? I have had a look on
Code Project but I suspect I may not be using appropriate search terms.
Many thanks.