Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How to display a text in a RichTextBox at a particular line?

$
0
0

I have a RichTextBox of width 379 and height 45. In my windows form, I have only kept two lines visible and I won't be needing any more lines.

1. In the 1st line I want to display a text which is left justified. I can easily do that.

2. In the 2nd line I want to display a text which is right justified. I am unable to do that.  I need help on this issue, precisely to say, how can I directly display a text at line 2, which will be right justified?

Thanks for any help.



Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>