Solved

Multiple Paragraphs

Posted on 2003-12-03
3
401 Views
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.
0
Comment
Question by:johnqtr
3 Comments
 
LVL 5

Expert Comment

by:arjanh
ID: 9870045
what programming language / environment ?
0
 

Author Comment

by:johnqtr
ID: 9870331
Sorry, I meant to put this question in the right lanuage.

Visual Basic (Visual Studio).
0
 
LVL 2

Accepted Solution

by:
DerekStone earned 50 total points
ID: 9870626
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
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Path to Python 9 128
Change the background and font colors in Notepad++ 5 108
SQL Insert parts by customer 12 42
WordPress: Debugging from my Windows 10 Desktop 6 25
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…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 …

808 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