Getting textShift To Shift Down?

BNig bernd.niggemann at uni-wh.de
Fri Jan 15 01:04:58 CET 2016


Hi Scott,

the following works for me in 7.0.6

textSize 14, textheight 28, fixed lineHeight

e.g. 

-----
set the textShift of char 1 to - 1 of field 1 to -9
-----

then a slider with values from - 9 to - 3

----
on scrollbarDrag pValue
   set the textShift of word 2 of line 1 of field 1 to pValue
end scrollbarDrag
----

this pushes word 2 of line 1 of field 1 down. If I use values above - 3,
e.g. -2 or 0 then it pushes the text up again.

Maybe this is an option to set the textshift of the whole text to a negative
number and then move down the text by setting it to another negative number
but not as high as the whole text.

Kind regards
Bernd



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Getting-textShift-To-Shift-Down-tp4700184p4700193.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list