Splash screen
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 80
- Joined: Fri Jul 09, 2010 6:28 pm
Splash screen
Does anyone know how to detect when the splash screen is off
I have a primary card that has a lot of calculations and updates with a progress bar, all in the 'OpenCard', however on opening the App, the splash screen does not go away until the 'OpenCard' is completed. Subsequent call to the OpenCard are just fine.
I notice that I can put an 'Answer' command in the 'OpenCard' and it will display (and wait, of course), over the top of the splash screen. Weird!
thanks
Steve
I have a primary card that has a lot of calculations and updates with a progress bar, all in the 'OpenCard', however on opening the App, the splash screen does not go away until the 'OpenCard' is completed. Subsequent call to the OpenCard are just fine.
I notice that I can put an 'Answer' command in the 'OpenCard' and it will display (and wait, of course), over the top of the splash screen. Weird!
thanks
Steve
Re: Splash screen
Hi Steve,
just a thought, but couldn't you simply fire a:
Know what I mean?
This way "opencard" is executed WITHOUT these long handlers, maybe that will do for you?
Best
Klaus
just a thought, but couldn't you simply fire a:
Code: Select all
on opencard
send "my_complicated_calculation_routine" to this cd in 10
## more short stuff here...
end opencard
This way "opencard" is executed WITHOUT these long handlers, maybe that will do for you?
Best
Klaus
-
- Posts: 80
- Joined: Fri Jul 09, 2010 6:28 pm
Re: Splash screen
Klaus
Thanks for your input ...
The problem is, now matter how much I do in the openCard, the splash screen does not go away until the openCard has finished, so even a call to the calculations would still be hidden the first time.
Basically, I need to find out what fires after the openCard, so I can put the call to the calculations in there.
Steve
Thanks for your input ...
The problem is, now matter how much I do in the openCard, the splash screen does not go away until the openCard has finished, so even a call to the calculations would still be hidden the first time.
Basically, I need to find out what fires after the openCard, so I can put the call to the calculations in there.
Steve
Re: Splash screen
I'm guessing the splash goes away at the first idle after all startup scripts complete (which would include preOpen and Open messages.) If that's true, then Klaus' suggestion should work. Did you try it?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Splash screen
I encountered the same problem this morning and can confirm the solution mentioned here does work.
I simply renamed my openCard handler to oCard and then created:
Works like a charm. I thought I would mention this for when the next person encounters the problem.
--paul
I simply renamed my openCard handler to oCard and then created:
Code: Select all
on openCard
send oCard to this card in 10
end openCard
--paul
Re: Splash screen
Colleaguespaulsr wrote:I encountered the same problem this morning and can confirm the solution mentioned here does work.
I simply renamed my openCard handler to oCard and then created:
Works like a charm. I thought I would mention this for when the next person encounters the problem.Code: Select all
on openCard send oCard to this card in 10 end openCard
This same approach is also ideal when moving from one card to another as it makes the switch fast.

Dave
LiveCode: Versions 8.0, 8.1
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory
Creating Apps for educational professionals, effective teaching and learning.
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory
Creating Apps for educational professionals, effective teaching and learning.