altID

Dick Kriesel dick.kriesel at mail.com
Sat May 26 15:30:38 EDT 2007


On 5/26/07 12:16 PM, "David Bovill" <david at openpartnership.net> wrote:

> the problem is you cannot use "control id tAltID of group id" -
> thats why it does not work

That construct works for me.  Here's a working example, derived from the
first script I posted yesterday.

on mouseUp
  create stack
  go to it
  create group "aTemplate"
  put the id of it into tGroupID1
  create field in it
  set altid of it to 1
  set text of it to "template"
  clone group "aTemplate"
  put the id of it into tGroupID2
  set the text of field id 1 of it to "clone"
  put field id 1 of group id tGroupID1 && field id 1 of group id tGroupID2
end mouseUp

What makes you think the construct doesn't work?

-- Dick





More information about the use-livecode mailing list