preOpenStack

Earthednet-wp prothero at earthednet.org
Sun Sep 7 11:22:03 EDT 2014


Terence,
Interesting, but it seems counter-intuitive to have a handler that references the stack being required to be on a card script. Which card? I assume it's the card that first opens in the stack?
Bill

William Prothero
http://es.earthednet.org

> On Sep 7, 2014, at 12:02 AM, Terence Heaford <t.heaford at btinternet.com> wrote:
> 
> Thanks for your reply.
> 
> Putting it in the card script does seem to be the answer.
> 
> Had a quick look in the dictionary and I couldn’t find where it says do not put it in the stack script.
> The dictionary just says the message is sent to the destination card when you open a stack.
> 
> It may be in some other docs somewhere.
> 
> 
> All the best
> 
> Terry
> 
>> On 06 Sep 2014, at 17:08, Mark Wieder <mwieder at ahsoftware.net> wrote:
>> 
>> Terence-
>> 
>> Saturday, September 6, 2014, 4:26:23 AM, you wrote:
>> 
>>> I have a stack(main stack) which in the stack script contains a
>>> preopenstack handler that I use to set the size of the window before
>>> it shows.
>> 
>> The preopenstack and openstack class of handlers should be in the
>> script of the first card, not in the stack script. Yes, it's in the
>> docs. If these handlers are in the stack script you an easily run into
>> the sort of problems you're encountering.
>> 
>> -- 
>> -Mark Wieder
>> ahsoftware at gmail.com
>> 
>> This communication may be unlawfully collected and stored by the National 
>> Security Agency (NSA) in secret. The parties to this email do not 
>> consent to the retrieving or storing of this communication and any 
>> related metadata, as well as printing, copying, re-transmitting, 
>> disseminating, or otherwise using it. If you believe you have received 
>> this communication in error, please delete it immediately.
>> 
>> 
>> _______________________________________________
>> 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
> 
> _______________________________________________
> 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