- Ricardo Colarina
- PowerBuilder
- Tuesday, 29 August 2017 06:24 AM UTC
Hi All,
Do you have a recommendation on how to determine the width of the value of a char column? At the moment, I use GetTextExtentPoint32A, but this slows down the retrieval, as I set a computed column in the datawindow as a flag in the retrieverow event, which is then used by the enabled property of the tooltip. Is there a way instead to determine if the ellipsis is showing where it is enabled in the column format? I need to determine the width of the value as I'm using tooltips, but I only want to display the tooltip if the column value doesn't fit the column width. I also tried using a hidden multilineedit control, and just determine the LineCount.
Thanks.
Best Regards,
Ricardo
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.