Console-like control that allows full control over individual text formatting
Posted
by Rich.Carpenter
on Stack Overflow
See other posts from Stack Overflow
or by Rich.Carpenter
Published on 2010-04-24T17:24:07Z
Indexed on
2010/04/24
17:33 UTC
Read the original article
Hit count: 329
I'm tinkering with writing a simple text-based role-playing game. I would like to use WinForms, and utilize WinForm controls for the UI and simple text for the output. The catch is, I would like to have complete control over the formatting of the individual text - some words being different colors, etc. A simple console control would suffice, as that would provide control over text colors, but it would be nice to also be able to change style, font and size.
Less important: it would be nice to have complete control over where text appears in the control through a coordinate system, as with DOS windows of old.
I'd appreciate suggestions on the best method of implementing this. Perhaps there is a better method I had not considered for rendering the output of a text-based game.
© Stack Overflow or respective owner