Page 1 of 1

Sub Stack problem

Posted: Mon May 05, 2008 2:53 pm
by user#606
I have an application that accepts input to a field variable directly if the user knows the value to use. However, if the user does not know the value, a button alongside the field brings up a small sub stack card as the place to do the calculation from several inputs or choices. then return to the original main card with the variable filled in by the calculated answer.

Problem, I can open the sub stack card, do the calc, but cannot get back to the main card. I address the cards by their ID numbers and the numbers are correct.

What shold happen?

As an undesireable get over, I open a new card in the main stack, do the same process and get back to the original screen just fine. It is undesireable, because the card is so large (all cards in the mainstack are deliberately of a fixed size.

Posted: Mon May 05, 2008 7:47 pm
by Klaus
We need more info like script (snippets) etc...
"This does not work" is not enough to help you out!

So what did you script to go back to that card?

Posted: Mon May 05, 2008 10:24 pm
by user#606
Button triggers this code

on mouseup
go to card id 1234
end mouseup

the samecode that works with a card from the main stack

Posted: Mon May 05, 2008 10:35 pm
by BvG
user#606 wrote:on mouseup
go to card id 1234
end mouseup
try:

Code: Select all

on mouseup
go to card id 1234 of stack "put the name of stack here"
end mouseup

Posted: Tue May 06, 2008 8:48 am
by user#606
Thank you BvG,

I had not thought of that, I must give it a try tonight.