The RichEdit is a text component used for
input as well as output. The RichEdit can be found under Win32 on the
To add a line to a RichEdit the following line of coding can be used:
Take note of the #9 that refers to a tab.
Other properties can be set as follows:
A RichEdit can be cleared by using RichEdit1.Clear; for example.
Tabs can also be used to list items exactly underneath each other. For this purpose the amount of tabs must be set and then the width be specified. For example:
Text written in a RichEdit can also be save directly into an RTF (Rich Text Format) file using the SaveToFile procedure. Files can also be opened using the LoadFromFile procedure. For example:
Delphi resources index
Return to Home Page
© JAK Olivier (2008)