How to tell how much text is displayed in a multiline label
Patrick MacDonald
5
Reputation points
If I have a multiline label and I programmatically fill it with characters, how can I tell when I put the last displayable character in the label? I can keep adding characters but they won't be visible. So how can I figure out when to stop adding characters. Or how can I compute how many characters will fit on the visible portion of the label?
Sign in to answer