Alignment

RichTextBox with Text Alignment in VB6

In this article, we will create a program that can open a RichTextBox and manipulate its alignment such as Left, Center, and Right. RichTextBox allows the user to enter and edit text while providing more advanced formatting features than the standard TextBox control. Text can be assigned directly to the control, or can be loaded from a rich text format (RTF) or plain text file.