Initiate a card without showing?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Initiate a card without showing?
Hi,
is it possible to open/first initiate a card without showing it to the user?
is it possible to open/first initiate a card without showing it to the user?
Re: Initiate a card without showing?
DevBoyLars...
Dixie
Code: Select all
go invisible card x
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Initiate a card without showing?
Thank you, but isn't it so, that the user will be on this card then and can't use the card he already is/was?
If I've got 3 cards, which I have to initiate at start, would I handle this like this via my Mainstack-script?
If I've got 3 cards, which I have to initiate at start, would I handle this like this via my Mainstack-script?
Code: Select all
go invisible card "a"
go invisible card "b"
go invisible card "c"
go to card "a"
Re: Initiate a card without showing?
What do you mean by 'initiate' at start ?... Is it that you want to put some data into fields of these cards when you first run the stack ?
For example if you are at card "a' and issue the push command... pop card will take you back to card 'a' after going to cards 'b' & 'c'...
Dixie
For example if you are at card "a' and issue the push command... pop card will take you back to card 'a' after going to cards 'b' & 'c'...

Code: Select all
push this card
go invis card "b"
go invis card "c"
pop Card
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Initiate a card without showing?
I'm trying to using mobGUI in the right way. I build my App with five cards and I'm using auto-geometry for the different screen-resolutions, but if I start the App and switch between the cards, I can see how the card changes the geometry to the device-resolution, This only happens the first time I go to this card, so I was hoping I can open all cards invisible at start once, that the user can't see the auto-geometry, if he visit the card by himself.
The push thing want work. If I put it in preOpenStack or preOpenCard the App hangs up.
I also tried this, which is also not working:
The push thing want work. If I put it in preOpenStack or preOpenCard the App hangs up.
I also tried this, which is also not working:
Code: Select all
on preOpenCard
# mobGUIStart ---> Inserted by mobGUI plugin
if "MobGUILib-123456789.123456" is not among the lines of the stacksInUse then start using stack "MobGUILib-123456789.123456"
mobGUIPreOpenCard me
mobGUIPreOpenCard "B"
mobGUIPreOpenCard "C"
# mobGUIEnd
end preOpenCard
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Initiate a card without showing?
I found the solution with help of another post: I've to use a substack for every tab.
I don't know why, but this works fine
I don't know why, but this works fine

Re: Initiate a card without showing?
Hi,
I have the same problem. What u did exactly to resolve it?
Thx.
I have the same problem. What u did exactly to resolve it?
Thx.