insert linebreak in rich textbox - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

insert linebreak in rich textbox

gnznrosesgnznroses Posts: 4Member
how do i insert a linebreak into a rich textbox? let's say when you goto File | New that I've got

MainText.Text = "this is some text"

well if i wanted to put a linebreak after "is" how would i do it?

Comments

  • MozMoz Posts: 32Member
    : how do i insert a linebreak into a rich textbox? let's say when you goto File | New that I've got
    :
    : MainText.Text = "this is some text"
    :
    : well if i wanted to put a linebreak after "is" how would i do it?
    :
    **************************
    I haven't tried to do this before, but have you tried setting the text as "This is " & chr(10) & "some text" ... or similar?? Works in dialogue boxes, but not sure if it will work in the drop down menus ...

    Moz.
Sign In or Register to comment.