URGENT: RichTextBox TextChanged
I have a MDI program that makes a new form with the following code:
PrivateSub ShowNewForm(ByVal sender AsObject, ByVal e As EventArgs) Handles NewToolStripMenuItem.Click, NewToolStripButton.Click, NewWindowToolStripMenuItem.Click
' Create a new instance of...
:confused: How do I copy or cut data from a rich text box (name = CRTB) to the clipboard?
My program is an MDI Form that creates a new child form with the following:
Private Sub ShowNewForm(ByVal sender As Object, ByVal e As EventArgs) Handles NewToolStripMenuItem.Click...
So if I wanted italics I would use:
For Each ...
Dim fs As FontStyle = CRTB.SelectionFont.Style
If CRTB.SelectionFont.Italic = False Then
'add italic style
CRTB.SelectionFont = New Font(CRTB.SelectionFont, fs Or Drawing.FontStyle.Italic)
'remove italic style...
:) Hi, I'm new to this forum.
I have a problem with my Windows application.
I have an MDI form that creates a new child form when the new button is clicked. The child form contains a rich text box called CRTB which is made to fill the whole child form:
Private Sub ShowNewForm(ByVal...