Open stack error message

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Open stack error message

Post by MaxV » Tue Oct 18, 2016 9:08 am

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.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply