Jump to content
Tuts 4 You

TET in delphi 7


omar911

Recommended Posts

would like to know how to add parahgraaphs in delphi like this

 

YOU MAY USE OUR RELEASE FOR EVALUATION PRUPOSES ONLY. WE WILL NOT
BE HELD RESPONSIBLE FOR OUR RELEASE. IF YOU LIKE THIS SOFTWARE,
YOU'RE STRONGLY ADVISED TO BUY IT AND SUPPORT THE DEVELOPERS AND
ALSO SOFTWARE COMPANIES NEED OUR SUPPORT FOR QUALITY PRODUCTS.YOU MAY NOT USE, SELL OR DISTRIBUTE OUR RELEASE TO MAKE MONEY OR
USE IT FOR ANY OTHER COMMERCIAL PURPOSE.

 

any help would be great and yes i have tried it but for some reason it will not do the tet like above but in a straight line instead without space.

 

thank you in advance and have a nice XMAS everyone.

Link to comment

Here is it

 

sLineBreak is the keyword you are looking for.

 

 

string strMessage := 'YOU MAY USE OUR RELEASE FOR EVALUATION PRUPOSES ONLY. WE WILL NOT' + sLineBreak + 'BE HELD RESPONSIBLE FOR OUR RELEASE. IF YOU LIKE THIS SOFTWARE,' + sLineBreak + 'YOU'RE STRONGLY ADVISED TO BUY IT AND SUPPORT THE DEVELOPERS AND' + sLineBreak + 'ALSO SOFTWARE COMPANIES NEED OUR SUPPORT FOR QUALITY PRODUCTS.' + sLineBreak + sLineBreak + 'YOU MAY NOT USE, SELL OR DISTRIBUTE OUR RELEASE TO MAKE MONEY OR' + sLineBreak + 'USE IT FOR ANY OTHER COMMERCIAL PURPOSE.';Form1.Memo1.Text := strMessage;

Edited by XorRanger
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...