Multiple Paragraphs

Posted on 2003-12-03
Last Modified: 2010-04-17
I currently have to input a lot of text into a texbox but I can't figure out how to separate the paragraphs within the textbox.  All I get is one continuous  paragraph.  Thanks.
Question by:johnqtr

Expert Comment

Comment Utility
what programming language / environment ?

Author Comment

Comment Utility
Sorry, I meant to put this question in the right lanuage.

Visual Basic (Visual Studio).

Accepted Solution

DerekStone earned 50 total points
Comment Utility
Option Explicit

Private Sub Form_Load()
    'Set the following using the "Properties" window
    'Text1.MultiLine = True
    'Text1.ScrollBars = 3
    Text1.Text = "This is paragraph one." & vbCrLf & vbCrLf & "This is paragraph two."
End Sub

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now