Also "control" is a synonym for field, button, image.....

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Peter Bogdanoff
Sent: Friday, July 24, 2015 8:06 PM
To: How to use LiveCode
Subject: Referencing a control name

Hi all,

I have this data in a field "MyField":

        button "Home",37,26,2,699

I want to reference that data like this:

        set the width of <item 1 of line 1 of field "MyField"> to item 2 of
line 1 of field "MyField"

How do I script the stuff inside the <> ? Sometimes that item will be a
field, graphic, etc.

Having a brain freeze.

Peter Bogdanoff
UCLA
_______________________________________________
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


_______________________________________________
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