Multiple windows

Shao Sean shaosean at
Sun Jan 6 23:04:01 EST 2002

i did something similiar.. i can't find the code that i used, but here is
something that should work

code in the button or function that will display the palettes
on mouseUp
  if (stackName is not among the lines of the openStacks()) then
    go to stack stackName in a new window
    send "cloneMe" to stack stackName
  end if
end mouseUp

put this code in the stack script
on cloneMe
  close this stack
end cloneMe

hope that helps

More information about the use-livecode mailing list