On 6/17/11 11:07 PM, Slava Paperno wrote:

Is there an equivalent to the mouseText, or the mouseChunk, or the
mouseCharChunk that is Unicode-aware? Or some ingenious way to retrieve the
word that the user clicked?

Does the "word" delimiter work? If so, you could try this in the field:

on mouseUp
  get word 2 of the mouseCharChunk
  put the number of words in char 1 to it of me into tWordNum
  put word tWordNum of me into tWordClicked
  -- do something with tWordClicked
end mouseUp

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to