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!

multiline textbox

Status
Not open for further replies.

ice78991

Programmer
Joined
Nov 20, 2006
Messages
216
I am trying to create a multiline text box but am only getting the first line of text

textStr = str1 + "\n" + str2;

txt.setNewTextFormat(nameTextFormat);
txt.selectable = false;
txt.embedFonts = true; //necessary for next line
txt.multiline = true;
txt.wordWrap = true;
txt.text = textStr;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top