Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Skipping a line in a MemoBox

Status
Not open for further replies.

PaidtheUmpire

Programmer
Jan 4, 2004
105
AU
I want to insert text like this:

Line 1: Blah
Line 2:
Line 3: Blah Blah Blah

The Code is something like this...
Memo1.Lines.Add('Blah' + ???? + ???? + 'Blah Blah Blah');

Delphi I can't get enough of you.
 
Memo1.Lines.add('Line1');
Memo1.Lines.add(''); //this will create a second empty line
Memo1.Lines.add('Line3');

or :

Memo1.Lines.add('Line1'#13#10'Line3');

cheers


--------------------------------------
What You See Is What You Get
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top