This is a migrated thread and some comments may be shown as answers.

Lines will be displayed without wordwrap

3 Answers 97 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
Hardy
Top achievements
Rank 1
Hardy asked on 10 Jul 2015, 11:57 AM

Hi all,

I have setup a TextBox with multiline=True.

Setting the Text-Property or the Lines-Property does not display the MultiLineText in correct way.

The text is displayed without wordwrap.

 

Is there another Property set to be True?

 

Regards

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 10 Jul 2015, 02:42 PM
Hello Hardy,

Thank you for writing.

Can you please provide a sample demonstrating the undesired behavior, as in my test the text is correctly wrapped. See attached image.

I am looking forward to your reply.

Regards,
Stefan
Telerik

0
Hardy
Top achievements
Rank 1
answered on 12 Jul 2015, 08:56 AM

Hello Stefan,

 I fixed the problem. The text to be display was read from a database and new lines are defined by "LineFeet" ASCII(10).

So I'm using the Lines Property to fill the textbox, splitting the text by Chr(10).

Now it's working ...

Regards

Hardy

0
Dimitar
Telerik team
answered on 15 Jul 2015, 12:15 PM
Hello Hardy,

I am glad that you have found a solution for your case. Do not hesitate to contact us if you have other questions.

Regards,
Dimitar
Telerik

Tags
TextBox
Asked by
Hardy
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Hardy
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or