[RESOLVED] RichTextBox word wrapping
I am struggling to find any thing on google currently on word wrapping indenting.
When i am receiving server responses some are to long for the RTB so obviously continue on the next line. Each line is time stamped. If the word is to long it looks as follows
Code:
15:00 this is a long
message
15:01 another message and so on
what i would like is for the new line to be indented to under the text above so it does not wrap directly under the time stamp.
Code:
15:00 this is a long
message
15:01 another message and so on
not really sure what to look for :(
Re: RichTextBox word wrapping
I think a list view or grid would be the preferred method to display data in columns.
1 Attachment(s)
Re: RichTextBox word wrapping
Code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
Me.RichTextBox1.SelectionHangingIndent = 20
End Sub
End Class
Re: RichTextBox word wrapping
Thank you both for the suggestions.
ForumAccount works a charm. Star