From: MughalShahzad on
I have a text field with some text I want to jump at specific location within that text field to make glossary,
help required
regards
shahzad
From: Rob Dillon on
You can use offset() to find the position of a word in larger body of text,
then you can use charPosToLoc() to find the physical position in the text, then
use the vertical component of that point to scroll the text. Something like
this:


on scrollToText thisString,thisTextMember
wordLoc = offset(thisString,member(thisTextMember).text)
wordPoint = member(thisTextMember).charPosToLoc(wordLoc)
member(thisTextMember).scrollTop = wordPoint[2]
end