Card visibility vs render

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

Post Reply
SteveTX
Posts: 170
Joined: Sun Jan 17, 2010 9:00 pm

Card visibility vs render

Post by SteveTX » Wed Jul 03, 2013 8:42 pm

I am trying to render a card without it being visible/top most, and having some questions about the "go" command.

I have two cards, the splash screen and the application. The splash screen is simple, the application is visually complex and takes a few seconds to render (lots of create graphic commands). I want to render and show the card splash screen first and topmost at start, immediately render the application card invisibly/bottom most while the splash screen is on top, and only after the application card is finished rendering then get rid of the splash. I see no visible true/false setting for cards, so I deduce that they aren't being treated like objects.

Does the "go" command simply change the layer of the card, does it cause the card to render and become topmost?
Or is card rendering occurring at openStack regardless of the card being called?
How can I render a card without it being visible?

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Card visibility vs render

Post by shaosean » Thu Jul 04, 2013 6:25 am

As soon as the stack is loaded, it should all be rendered.. There is an invisible option for the go command

go invisible to stack "stackName"

Post Reply