Silly question about stacks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Silly question about stacks
Hi Everyone
I have a program with quite a few different stacks containing a few cards each. The problem I'm having is that when the user navigates around the program in amongst the multiple stacks, the stacks all remain open rather than replacing each other.
In other words, when they open 'Stack1' and then want 'Stack2', 'Stack2' will open but 'Stack1' will remain underneath it. On Windows, this looks really messy as each stack appears as a separate window in the task bar.
I have tried a few different methods that I have found but none of them work.
All I need to do is find a simple way of replacing each stack one by one on screen as the user goes along, not layering them on top of each other.
Thanks in advance
I have a program with quite a few different stacks containing a few cards each. The problem I'm having is that when the user navigates around the program in amongst the multiple stacks, the stacks all remain open rather than replacing each other.
In other words, when they open 'Stack1' and then want 'Stack2', 'Stack2' will open but 'Stack1' will remain underneath it. On Windows, this looks really messy as each stack appears as a separate window in the task bar.
I have tried a few different methods that I have found but none of them work.
All I need to do is find a simple way of replacing each stack one by one on screen as the user goes along, not layering them on top of each other.
Thanks in advance
Hi Stormy1,
if these stack have idetical width and height then you could:
...
go stack "Stack 2" in window of this stack
...
This way there won't be any clutter on the screen, just one clean window!
Btw this will also look really messy on a Mac
OR you can script:
...
go stack "Stack 2"
close stack "Stack 1"
##presumed the script IS in stack "Stack 1"
...
Best
Klaus
if these stack have idetical width and height then you could:
...
go stack "Stack 2" in window of this stack
...
This way there won't be any clutter on the screen, just one clean window!
Btw this will also look really messy on a Mac

OR you can script:
...
go stack "Stack 2"
close stack "Stack 1"
##presumed the script IS in stack "Stack 1"
...
Best
Klaus
Hi Klaus
Thank you for your message but I'm getting into a bit of a mess.
Revolution (version3 on MacOS10.5.6) seems to be acting very unpredictably all of a sudden. For some reason, it has started deleting substacks from my stacks. Thats deleting as in permanently by the looks of it which is NOT funny. When I close Revolution and re-import the stack, the sub stack are still not there even after a restart too.
However, I'm not sure the 'in the window of this stack' is working properly. It seems to delete the substack (in two cases now, deleting permanently as mentioned above).
But also, what is the equivalent with cards and substacks? At the moment, if you navigate between cards with multiple substacks, the substacks remain open.
I'm getting really confused here for such a simple thing and have found nothing in the documentation (which on the whole is really poor)
Thanks again
Thank you for your message but I'm getting into a bit of a mess.
Revolution (version3 on MacOS10.5.6) seems to be acting very unpredictably all of a sudden. For some reason, it has started deleting substacks from my stacks. Thats deleting as in permanently by the looks of it which is NOT funny. When I close Revolution and re-import the stack, the sub stack are still not there even after a restart too.
However, I'm not sure the 'in the window of this stack' is working properly. It seems to delete the substack (in two cases now, deleting permanently as mentioned above).
But also, what is the equivalent with cards and substacks? At the moment, if you navigate between cards with multiple substacks, the substacks remain open.
I'm getting really confused here for such a simple thing and have found nothing in the documentation (which on the whole is really poor)
Thanks again
Hi Stormy1,
If you go to another card in the same stack, and other stacks are open, why and how should they get closed by simply navigating in one stack? Sorry, do not understand this problem (it it is one
)
Hm, I never had these problems in the last 10 years...Stormy1 wrote:Hi Klaus
Thank you for your message but I'm getting into a bit of a mess.
Revolution (version3 on MacOS10.5.6) seems to be acting very unpredictably all of a sudden. For some reason, it has started deleting substacks from my stacks. Thats deleting as in permanently by the looks of it which is NOT funny. When I close Revolution and re-import the stack, the sub stack are still not there even after a restart too.
See above, I use this technique for several years and never "lost" a substack.Stormy1 wrote:However, I'm not sure the 'in the window of this stack' is working properly. It seems to delete the substack (in two cases now, deleting permanently as mentioned above).
???Stormy1 wrote:But also, what is the equivalent with cards and substacks? At the moment, if you navigate between cards with multiple substacks, the substacks remain open.
If you go to another card in the same stack, and other stacks are open, why and how should they get closed by simply navigating in one stack? Sorry, do not understand this problem (it it is one

First off Klaus, I'm not blaming you for anything. I don't know why its dumped two substacks but it has and its a major pain. I can't see the reason but I'm having to back up more regularly.
The reason why this card issue is a problem for me is because of the following:
1) Its hardly what I would call memory efficient to have cards overlapping each other.
2) Each card comes up as a new window in the Windows taskbar. Why??? All this will do is confuse the user and look a mess.
3) Why isn't there a simple command or script that will allow you to close a card once you navigate away from it?? If you can say 'close stack' why can't you 'close card'?
My program has two main areas. An admin area (stack1) and a viewing area (stack2). Within each there are ten lessons. The viewing area has substacks for each lesson including many cards for each lesson. So can you see how if spending time with this going through all the lessons is going to build up a huge number of windows on top of each other?
The way I've built it makes logical sense to me building it and the program so I don't feel its an architecture problem, or else why bother with stacks, substacks or cards if the user is not free to organise their program how they see fit?
Once again, I have to say the documentation is rubbish in recognising that as a 'newbie' this might be a potential mess to get into.
The reason why this card issue is a problem for me is because of the following:
1) Its hardly what I would call memory efficient to have cards overlapping each other.
2) Each card comes up as a new window in the Windows taskbar. Why??? All this will do is confuse the user and look a mess.
3) Why isn't there a simple command or script that will allow you to close a card once you navigate away from it?? If you can say 'close stack' why can't you 'close card'?
My program has two main areas. An admin area (stack1) and a viewing area (stack2). Within each there are ten lessons. The viewing area has substacks for each lesson including many cards for each lesson. So can you see how if spending time with this going through all the lessons is going to build up a huge number of windows on top of each other?
The way I've built it makes logical sense to me building it and the program so I don't feel its an architecture problem, or else why bother with stacks, substacks or cards if the user is not free to organise their program how they see fit?
Once again, I have to say the documentation is rubbish in recognising that as a 'newbie' this might be a potential mess to get into.
Hi Stormy1,
I did not presume that all this is my fault nor that you were blaming me for that
But maybe you did not understadnd the meaning of STACK and CARD correctly?
ONE stack = ONE window
Cards are different views of ONE stack but of the SAME window!
So going from one card to another in a stack does not open a new window but will simply
"replace" the visible content of the current stack/window.
So I am not sure what your problem in 1., 2. and 3. is?
I can offer you to take a look at your stack(s), maybe you can strip them down to a couple
of cards each and send it to me? klaus (AT) major-k.de
Maybe I find something in your script(s)?
Best
Klaus
I did not presume that all this is my fault nor that you were blaming me for that

But maybe you did not understadnd the meaning of STACK and CARD correctly?
ONE stack = ONE window
Cards are different views of ONE stack but of the SAME window!
So going from one card to another in a stack does not open a new window but will simply
"replace" the visible content of the current stack/window.
So I am not sure what your problem in 1., 2. and 3. is?
I can offer you to take a look at your stack(s), maybe you can strip them down to a couple
of cards each and send it to me? klaus (AT) major-k.de
Maybe I find something in your script(s)?
Best
Klaus
Hi Klaus
Apologies but I've just realised how to do what I want.
I didn't realise that even though they are substacks, you can still use the 'close stack' command for them, which now works. In other words, using the 'close stack' followed by the substack name, closes it.
Is it me or is it confusing? Why wouldn't there be a command 'close substack'?
Anyway, apologies for not getting it but I'm learning!!
Thanks so much for your help Klaus
Apologies but I've just realised how to do what I want.
I didn't realise that even though they are substacks, you can still use the 'close stack' command for them, which now works. In other words, using the 'close stack' followed by the substack name, closes it.
Is it me or is it confusing? Why wouldn't there be a command 'close substack'?
Anyway, apologies for not getting it but I'm learning!!
Thanks so much for your help Klaus
Hi Stormy1,
well, a "substack" is just an ordinary stack!
From the docs about "substacks":
--------------
Each Revolution file contains either a single main stack, or a main stack and one or more substacks.
The substacks property reports on the substacks of a main stack.
-------------
So this just describes that a stack (that is a substack), is saved in the FILE of its mainstack, but it is an ordinary
stack, therefore no special commands are necessary
OK, this is a bit irritating, but keep on trying and learning (and asking), Rev is an extremely powerful tool!
Best
Klaus
well, a "substack" is just an ordinary stack!
From the docs about "substacks":
--------------
Each Revolution file contains either a single main stack, or a main stack and one or more substacks.
The substacks property reports on the substacks of a main stack.
-------------
So this just describes that a stack (that is a substack), is saved in the FILE of its mainstack, but it is an ordinary
stack, therefore no special commands are necessary

OK, this is a bit irritating, but keep on trying and learning (and asking), Rev is an extremely powerful tool!
Best
Klaus