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 [email protected] -----Original Message----- From: use-livecode [mailto:[email protected]] 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 [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
