preOpenCard inside behaviors, does it works?

Andre Garzia andre at andregarzia.com
Tue Jun 22 15:45:17 EDT 2010


Mark & Craig,


if you have a preOpenCard in a behavior script and set the behavior of a
button to that script, does it fires when you navigate to the card that
contains the button?

Cheers


On Tue, Jun 22, 2010 at 4:42 PM, <DunbarX at aol.com> wrote:

> Mark.
>
> I have no issue with "preOpenCard".
>
> I made a stack just like I wrote to Andre. A button has:
>
> on preOpenCard
>   Beep 3
> end preOpenCard
>
> I set the stack behavior to the button. Beeps happily away...
>
> But I did just notice that for most controls except for simple buttons and
> fields, there is no behavior field in the inspector. No problem writing
> this
> in, of course, but odd, I thought...
>
> Craig Newman
>
>
> In a message dated 6/22/10 3:34:03 PM, mwieder at ahsoftware.net writes:
>
>
> >
> > ...make that preOpenCard instead...
> >
> > ...and write up a bug report on preOpenCard and preOpenStack not being
> > passed to a behavior button...
> >
> >
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list