Page 1 of 1
Determining if a Field's text is clipped
Posted: Tue Jun 04, 2013 4:43 pm
by leston12
Does anyone know of a way in LC to know if all the text in a field is visible or if it is 'clipped' in a case such as when the rect of the field is too small to show all of the text?
Thanks!
Re: Determining if a Field's text is clipped
Posted: Tue Jun 04, 2013 4:49 pm
by Klaus
Hi Leston,
you can get the "formattedwidth" and/or "formattedheight" of a field and comparte that to the "height" and/or "width" of that field.
Best
Klaus
Re: Determining if a Field's text is clipped
Posted: Tue Jun 04, 2013 4:57 pm
by leston12
Excellent! That's exactly what I needed.
Thanks Klaus.