>>I use an editbox for something similar (see attached image).
>>
>>You can set .SelStart to the end of the editbox contents and .Refresh() to get it to show the latest values.
>
>I'm looking for a something simple. Ten lines of code which I provided in question implements this without form.
>Only issue is accept command input font.
Well, if it takes you 1/2 a day to find out if the font you want to change, can be changed (either yes or no), you could have implemented a form in a fraction of that time.
The far more flexible editbox approach was required for my use cases.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up