Hiding a Card?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Hiding a Card?
I have a few cards at the end of a stack that I would like to skip over in doing go next or go previous routines. I realize that stacks can be hidden, but is there a way to hide or go invisible on a card? I have been skipping over the cards by checking their names but was curious if there was a more graceful way. One card (not that it matters) at the moment happens to be a mobGUI card and another is a settings card using buttons from the previous card. Any insight will be appreciated.
Re: Hiding a Card?
Hi punchcard,
1. welcome to the forum!
2. No "more graceful" way then to check in your navigation buttons!
You get the picture.
Best
Klaus
1. welcome to the forum!

2. No "more graceful" way then to check in your navigation buttons!
Code: Select all
## e.g. Next button:
...
if the short name of this cd = "last card that can be navigated to" then
go cd 1
## or wherever...
else
go next
end if
...
Best
Klaus
Re: Hiding a Card?
Hi.
What Klaus said.
Depending on how one navigates, you can place something similar to his suggestion in the stack script, using an "openCard" handler. If you had several cards that needed bypassing, which might change, you could store their names or ID's in a custom property and have the handler check as they come up.
Craig Newman
What Klaus said.
Depending on how one navigates, you can place something similar to his suggestion in the stack script, using an "openCard" handler. If you had several cards that needed bypassing, which might change, you could store their names or ID's in a custom property and have the handler check as they come up.
Craig Newman
Re: Hiding a Card?
Klaus & Craig, thank you for the warm welcome and both suggestions! I am going to stay with checking the last wanted card name (or number) and if the cards are not in a clean sequence in the long run, I will take the route suggested by Craig.