Sending mouseUp
Peter Haworth
pete at lcsql.com
Wed Mar 20 17:22:24 EDT 2013
Hi Tom,
I've changed my scripts so much that I'm not sure of the answer to that.
Good point though - I'll see if I can find a backup copy of the stack from
before I started changing it all around.
The dictionary seems to indicate it doesn't matter whether you pass
preOpenCard or not, at least in terms of whether the card is actually
opened,
Pete
lcSQL Software <http://www.lcsql.com>
On Wed, Mar 20, 2013 at 2:15 PM, Thomas McGrath III <mcgrath3 at mac.com>wrote:
> Do you pass the messages as well in your problem stack? i.e. pass
> preOpenCard, etc.
>
> The IDE is dealing with a lot of things that a standalone isn't dealing
> with.
>
> Just a thought,
>
> Tom
>
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgrath3 at mac.com
>
> On Mar 20, 2013, at 5:07 PM, Peter Haworth <pete at lcsql.com> wrote:
>
> > Yep, that's my experience too. Don't remember all the combinations I
> tried
> > but here's the one that really surprised.
> >
> > 1. Ran LC and opened my stack from within it. Got the mouseUp problem.
> > 2. Closed the stack and opened it again from within LC. All worked OK.
> > 3. Closed the stack and removed it from memory then opened it from within
> > LC. All worked OK!
> >
> > Step 3 is what really surprised me, I thought that should have had the
> same
> > result as step 1.
> >
> > It's as if preOpenCard doesn't quite work right the very first time it is
> > executed in any stack in a run of LC, but ever after it's OK.
> >
> >
> > On Wed, Mar 20, 2013 at 1:49 PM, <dunbarx at aol.com> wrote:
> >
> >> There is no such card (yet); the card just does not exist. However, also
> >> in a new session, if you open another stack, and then open the test
> stack
> >> from the finder, all is well. So "preOpenCard" is invoked REALLY early,
> >> but it seems to matter when and how it is invoked as well.
> >>
> >
> >
> >
> > Pete
> > lcSQL Software <http://www.lcsql.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
>
>
> _______________________________________________
> 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