the mouseText and Unicode: a 3-char puzzle

BNig niggemann at uni-wh.de
Tue Jun 21 17:54:24 EDT 2011


Slava,

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

Bernd

--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/the-mouseText-and-Unicode-a-3-char-puzzle-tp3613315p3615459.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the Use-livecode mailing list