Riddle me this Batman:

I have 2 controls named "F1"(field) and "menu"(button) both in a group named
G1

Why does this work...????
put "F1" into somevar
put the long name of control somevar into someothervar

But this does not work...
put "F1 of group G1" into somevar
put the long name of control somevar into someothervar

This works....
put "F1 of group G1" into somevar
put the long name of ("control"&&somevar) into someothervar

This also works....
put "F1" into somevar
put the long name of ("control"&&somevar) into someothervar

But this does not
put "menu of group G1" into somevar
put the long name of ("control"&&somevar) into someothervar

But this does
put quote&"menu"&quote&&"of group G1" into somevar
put the long name of ("control"&&somevar) into someothervar

And this works
put "menu" into somevar
put the long name of control somevar into someothervar

Menu seems to be a keyword or something. What am I missing? Should there
always be quotes around control names? (banging head against wall)

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


_______________________________________________
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