Script to find bottom of lowest field

Bob Sneidar bobsneidar at iotecdigital.com
Mon Apr 3 18:34:04 EDT 2017


A sneakier way would be to select all, group them, then get the bottom of the group, then ungroup them again. Account for group margins (2 or 3 pixels or something). If there are other objects of course that won't help you. 

Bob S


> On Apr 3, 2017, at 15:02 , Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Put -99999 into tMax
> Repeat with I = 1 to the number of fields of this card
> Put the max (tmax,the bottom of field I) into tMax
> End repeat
> 
> Create field
> Put it into tField
> Set the top tField to tMax + 20
> 
> Ralph DiMola





More information about the use-livecode mailing list