x,y position of the mousechunk ?
jbv at mozik.fr
jbv at mozik.fr
Mon May 4 09:40:37 EDT 2026
Hi list,
Is there a way to know the x,y position of the mousechunk,
especially when the content of a field is not just plain
text, but HTMLtext with more that 1 line ?
For the x value, I tried to use the formattedwidth of the
portion of text given by the mousechunk.
And for the y value, I tried a combination of the font
size, the line height and the top field margin.
But there are exceptions that don't return accurate values...
Thank you in advance.
Best,
jbv
More information about the use-livecode
mailing list