Effective line of a word

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Aug 16 11:06:05 EDT 2010

Hi Jean-Pierre,

Let's assume that you know the position of the word in the text as a whole. For example, because the user clicked on it.

put word 2 of the clickCharChunk into myPos
put the formattedText of fld "Your Field" into myText
put number of lines of (char 1 to myPos of myText) into myLineNr

Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

From 15th August, we'll have time for new projects! Be the first in line and contact me now!

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 16 aug 2010, at 16:54, Jean-Pierre Soto wrote:

> Hello,
> how can i know the effective line of a word in field with the wrap text set to true ?
> Thanks
> Jean-Pierre

More information about the Use-livecode mailing list