Use label or edit text for long texts?

o0spyder0o

Member
Licensed User
Longtime User
Hi guys
Which should I use for lengthy texts, the label or edit text set to none user input? I have tried pasting a lot of text in both views (multiline) and the text gets cut short. What limit is there to the text length and how to overcome this?
Other than chopping a text down into separate parts I can't see how to paste a lot of text into either one.
I plan to use the scrollview to show the text in its entirety.
Many thanks
 

o0spyder0o

Member
Licensed User
Longtime User
Hi Erel

I'm using a scrollview and it scrolls along nicely but even with the stringutils you mentioned the text ends exactly as it shows it ends when it was pasted into the label's multiline text.
I have:
ScrollView1.Panel.AddView(Label1,5,5,450,500)
Label1.Height = StringUtils.MeasureMultilineTextHeight(Label1, Label1.Text)

The problem appears to be in the multiline text for label1 in the designer, it chops the text short after so many lines. How do I get the entire text into the label's text in the first place?
It's got me baffled.
 
Upvote 0

o0spyder0o

Member
Licensed User
Longtime User
Ahh ok, I'll try that. I just went and looked at the multiline text and where it stops I can't type any more into it, it does seem to be a limit in the designer.
Reading it in should be perfect anyhow. Thank you.
 
Upvote 0
Top