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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

word wrap in vb like doc file

Status
Not open for further replies.

shanmugham

Programmer
Jun 19, 2001
71
0
0
IN
i have the text

"visul basic 6 differ from earlier versions of this popular programming language, the biggest and most obivious difference is in data access, where the long-time data access objects."

i want to split in to wordwrap method & each line consisting at most 25 chrs like the following

visul basic 6 differ from earlier
versions of this popular programming
language, the biggest and most
obivious difference is in data access,
where the long-time data access objects

any single command available????

help me
thanks in advance

shan



 
Don't know if this is what you want but...

place your text in the '.caption' property of a label control and set the labels '.wordwrap' property to true.

you then just have to adjust the label width to get the required number of characters per line.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top