Script to find bottom of lowest field
Ralph DiMola
rdimola at evergreeninfo.net
Mon Apr 3 18:02:05 EDT 2017
Not tested:
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
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net
-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Peter Bogdanoff via use-livecode
Sent: Monday, April 03, 2017 5:34 PM
To: How to use LiveCode
Cc: Peter Bogdanoff
Subject: Script to find bottom of lowest field
Hi script wizards!
I have a card containing a number of fields. I want to add another field,
but position this new field to have its top 20 pixels lower than the bottom
of any of the existing fields.
Does anyone already have a magic script to do this?
I also want to learn something new!
Peter Bogdanoff
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list