• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

Detect Label Overflow

Is there a way to directly detect whether the text in a label has "overflowed" the size of the label?  If not for labels, for some other text display control?

My current approach is to get the text width, and then estimate from that whether overflow has occurred...but I realized I hadn't asked whether overflow could be detected directly as a property of some text display control (though I didn't find any readily obvious evidence in Google that it can...)
0
codequest
Asked:
codequest
  • 2
1 Solution
 
naveenkohliCommented:
As far as I know, there is no way to detect overflow of text.
0
 
codequestAuthor Commented:
Thanks for input.   I'll troll a little longer, though I expect that's right.
0
 
codequestAuthor Commented:
OK, thanks!
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now