Re: Line Formatting

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Thu, 06 May 2010 07:25:57 -0400

I think you also need to set the MultiLine property of the TextBox to true, and make its height large enough to encompass multiple ines.


Jamal


On 5/5/2010 11:53 PM, Celia Rodriguez wrote:


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.

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: