can't put into field by id?

Scott Rossi scott at tactilemedia.com
Thu Nov 13 19:02:25 EST 2014


By saying this: put "gizmo" into theFld
You're telling LiveCode to put "gizmo" into the theFld variable, not into the field you referenced earlier.  This is standard behavior.

Do this: set the text of theFld to "gizmo"

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design

> On Nov 13, 2014, at 3:53 PM, "Dr. Hawkins" <dochawk at gmail.com> wrote:
> 
> With a sequence like,
> 
> put the long id of fld (word 1 of myVar) into theFld
> put "gizmo" into theFld
> 
> I end up with "gizmo" in the variable theFld, rather than the field it
> references.
> 
> Am I doing something wrong, or does this just not work for fields (7.0-RC2)
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> 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