RE: Line Formatting

  • From: "Celia Rodriguez" <celia-rodriguez@xxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Wed, 5 May 2010 22:53:54 -0500

Hi,

 

I think this might help.

 

            TextBox.Text += your string + "\r\n";

 

The "\r\n" will give you a new line.

 

Hope it helps.

Celia

 

From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Darko Pogacic
Sent: Tuesday, May 04, 2010 11:41 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: Line Formatting

 

            Hi there!

I am interesting how to make Visual Basic code to make a new line after a
number of characters (EG:5).

I have a RichTextBox control, and text inside.

I want to make a Visual Basic 6 code, wich o     n each 30 characters, puts
the rest of text into a new line.

 

Other related posts: