- Lawrence Anderson
- PowerBuilder
- Tuesday, 5 October 2021 07:59 PM UTC
I have a computed field on a datawindow that is set to a value of: "Description: " + trim(legal_description)
I've been requested to hide this entire field should the text overflow the allocated size, width: 2903, height 192, Autosize Height false. With Arial font sized 10, the text would be considered to have overflown when reaching 4 lines of text. Is there a way to determine this? The only solution I could think of was to check the length of the text, but the actual size is going to vary based on what the actual characters are. To specify, I'm not trying to hide text beyond a certain size, I want to show no text in circumstances where the text would overflow the specified dimensions.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.