Thanks for the suggestion, but unfortunately no -- I have the field set up as a 
table which needs a specific top margin so the first line is spaced down a 
distance equal to all lines in the field.

As often happens, Bernd N figured out an arrangement that allows downward 
shifting of text, but it only works with limited range of values and with text 
of the same (or similar) size.  I've since given up what I was trying to get 
working in a single field and am now using two fields, which is goofy but gets 
around the problem.

The reality is, one should be able to designate a chunk of text and move it up 
or down any distance, independently of the surrounding text. Currently you 
can't do that.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Jan 14, 2016, at 6:21 PM, Terry Judd <terry.j...@unimelb.edu.au> wrote:
> 
> Hi Scott - I think you might be able to do something by manipulating the
> margins of the field as well as the textShift.
> 
> I did a test with 2 basic fields - one containing the text and the other
> the value I wanted to adjust the textshift by...
> 
> Contents of fld 1
> 
> word1 word2 word3
> word1 word2 word3
> 
> word1 word2 word3
> 
> 
> Script of fld 2
> 
> on returnInField
>  lock screen
>  put me into y
>  if (pMargins is empty) or  (y<0)  then put "8,8,0,0" into pMargins #
> default margins
>  put pMargins into tMargins
>  set the textShift of word 2 of line 3 of fld 1 to y
>  if y „ 0 then
>    add y to item 2 of tMargins
>  end if
>  set the margins of fld 1 to tMargins
>  unlock screen
> end returnInField
> 
> Šmy test was pretty basic but it seemed to work under these conditions.
> 
> Regards,
> 
> Terry...
> 
> 
> 
> On 15/01/2016 11:41 am, "use-livecode on behalf of Scott Rossi"
> <use-livecode-boun...@lists.runrev.com on behalf of

_______________________________________________
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