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 Member Posts: 4
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 Member Posts: 32
    : 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.
  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    / http://forcoder.org / free ebooks and video tutorials about < Go PL/SQL Assembly Delphi C Perl Java Objective-C C++ MATLAB PHP C# Swift R Python JavaScript Scratch Visual Basic Visual Basic .NET Ruby ABAP Prolog SAS Kotlin Dart Transact-SQL Lisp Julia VBScript Awk Lua Scheme Logo Crystal F# COBOL Hack Apex Alice Rust LabVIEW FoxPro Scala Bash Clojure Ada Erlang D ML Fortran /> __________

Sign In or Register to comment.