Using Rich Text Box control to print results in tabular form.

Using Rich Text Box control to print results in tabular form.

Post by DJV » Fri, 09 Sep 2005 22:27:32



I would like to print multiple lines of tabulated text with
lines in between them using a Rich Text Box Control.
The format would be something like:

"The equation for the line for 0<="double valued variable0"<10
is:"

"y = number"+doublevaluedvariable1"x + "double valudedvariable2";

I would also like to know if one can use masks to print numbers
in tabulated format, such as:

Avg. Speed (MPH) Distance (Miles)
200 500
230 500

I know this isn't rocket science, but I would like to know how
to add returns at ends of lines, how to add spaces, and how to
insert numbers in text, as well as how to used masks.
I recall doing this quite a while ago
with DOS, but I am not sure how to translate that knowledge to
a Rich Text Box.

Thank you in advance for your assistance.
 
 
 

Using Rich Text Box control to print results in tabular form.

Post by maede » Mon, 12 Sep 2005 03:09:50


Your question is about using a VCL component, but this newsgroup is
about the C++ progamming language.

Please direct your browser at http://www.yqcomputer.com/
read the newsgroup descriptions and guidelines. This will help you
find the appropriate newsgroup for your question.