Abnormal behavior?

xbury.cs at clearstream.com xbury.cs at clearstream.com
Tue Feb 8 02:45:29 EST 2005


>
>If I understand you correctly, I would think the behavior is correct.  If 
a
>frontscript wasn't triggered first, why would you bother having 
frontscripts
>at all?
>
Scott,

The question is rather how do you overide a frontscript?...

In general and in most situations a local item overides a global 
counterpart.

If i have a card script and an equal stack (or bg) script, the card script 
is the
first to run... 

Maybe I got the frontscript wrong... And that script shouldn't be there 
but still
im surprised of the behavior...

Xavier

On 08.02.2005 06:34:44 use-revolution-bounces wrote:
>Recently, MisterX wrote:
>
>> I have a field script with a keydown event
>> which responds to keys typed in a field and
>> which checks for pretyping using a handler.
>>
>> I also have a frontscript (XOS) with a generic
>> pretype handler of the same name.
>>
>> What is abnormal is that when the keydown event
>> calls the pretyping handler, the frontscript is
>> the one that takes priority and not the handler
>> in the same script!
>>
>> This busts completely the local overide principle
>> in scripts... And the hierarchy of events...
>>
>> Other than renaming the handler name or "sendind"
>> the handler to itself (the field) how can I "count"
>> on having the right handler being called in all times?
>
>If I understand you correctly, I would think the behavior is correct.  If 
a
>frontscript wasn't triggered first, why would you bother having 
frontscripts
>at all?
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, Development & Design
>-----
>E: scott at tactilemedia.com
>W: http://www.tactilemedia.com
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution


-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE    Internet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.    The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.    END OF DISCLAIMER


More information about the use-livecode mailing list