Code: Select all
on mouseUp pMouseButton
go to card "cd1" of stack "MySubStack" of stack "MyMainStack"
end mouseUp
Thank you,
Linda
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
on mouseUp pMouseButton
go to card "cd1" of stack "MySubStack" of stack "MyMainStack"
end mouseUp
anmldr wrote: ↑Thu Jun 04, 2020 7:48 amI have a button in my main stack that has the code
The correct card opens but in a new window. How do I specify that it should open in the same window?Code: Select all
on mouseUp pMouseButton go to card "cd1" of stack "MySubStack" of stack "MyMainStack" end mouseUp
Code: Select all
go card "cd1" of staxk "MySubStack" of stack "MyMainStack" in window "MyOpenWindowTitle"
Gracefully. It can still work with stacks of other sizes, but you probably won't like how the source stack gets resized to fit the destination stack.
Code: Select all
go to card "cd1" of stack "theSubstack" in window of this stack