the mouseText and Unicode: a 3-char puzzle

BNig niggemann at
Tue Jun 21 17:54:24 EDT 2011


I made a slider, make it rather wide and add a field where to put the
htmlText into

The slider has this code:

on mouseDown
   set the endValue of me to the length of field "TextToClick"
end mouseDown

on scrollbarDrag tValue
   put round (tValue) into tThumb
   select char tThumb of field "textToClick"
   put the htmlText of the selection into field "fRes"
end scrollbarDrag

In my previous post I accidentally left the name of the field as
"TextToClickB" which is my field name for the htmlText version of selecting
a word. But you probably have noticed that already.

Kind regards


View this message in context:
Sent from the Revolution - User mailing list archive at

More information about the Use-livecode mailing list