my card is hiding from me and from preOpenCard!

Ralph DiMola rdimola at evergreeninfo.net
Fri Jul 13 13:52:28 EDT 2012


I also found that to be true. I first assumed that the order went
preopenstack, openstack, preopencard then openCard. When my app went crazy I
tested with some answer dialogs and found out that it actually goes
preopenstack, preopencard, openstack, opencard. Also the first card is not
shown until the preopencard makes it though the entire message path. So one
can change the first card to be shown if you for example put "open card 2"
in the preopencard of card 1, then the first card to be displayed is card 2
not card 1.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode-bounces at lists.runrev.com
[mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Friday, July 13, 2012 1:30 PM
To: How to use LiveCode
Subject: Re: my card is hiding from me and from preOpenCard!

On 7/13/12 10:05 AM, Dr. Hawkins wrote:
> On Thu, Jul 12, 2012 at 6:24 PM, J. Landman Gay 
> <jacque at hyperactivesw.com> wrote:
>> It's likely a script error somewhere earlier in the launch sequence 
>> (preOpenStack, openStack, etc.) The script aborts and all messaging
stops.
>
> As I'm single-stepping watching for errors (there have been none so 
> far), I noticed that pre/Open card are happening *before* pre/open 
> stack (and this is in the IDE).
>
> Am I missing something big here?  Isn't it supposed to be the other 
> way around???
>

I learned recently that all the "pre" messages happen before all the regular
ones; i.e., preOpenStack, preOpenCard happen before openStack, openCard. But
they should go in stack -> bg -> card order.

Do you have a startup handler? If so, it would only fire in a standalone.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list