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.

_______________________________________________
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