Page 2 of 2

Re: Open stack error message

Posted: Tue Oct 18, 2016 9:08 am
by MaxV
jsburnett wrote:Hi,
I have a simple problem.
I am trying to open a substack thru a button as follows:

Code: Select all

on mouseUp
 put the selectedText of me into openThisStack
 go to stack openThisStack
end mouseUp
Try this one:

Code: Select all

on mouseUp
 put the label of me into openThisStack
 go to openThisStack
end mouseUp
or

Code: Select all

on menuPick pItemName
   switch pItemName
      go to stack pItemName
   end switch
end menuPick
It depends to the button type.