Referencing a control name

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Jul 24 20:26:01 EDT 2015


First put the reference into a variable and then

Set the width of myVar to x 

--
Kind regards,

Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com

Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com


Op 25 jul. 2015 om 02:05 heeft Peter Bogdanoff <bogdanoff at me.com> het volgende geschreven:

> 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 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