Solved

Multiple Paragraphs

Posted on 2003-12-03
3
400 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

776 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