Ah, I see. I would have guessed that would work too! On Jan 23, 2012, at 3:17 PM, dunb...@aol.com wrote:
> Jerry. > > > Nothing to do with a message. I was testing the value of a function. Most > other such things work: > > > > on mouseUp > repeat until the mouseclick > put the mouseH & "," & the mouseV > end repeat > end mouseUp > This very nicely tracks the loc of the cursor. Always did. It is something > about some functions. "wait with messages" > has fixed things before, just not sure why. I guess it could be that some > things take longer to process. > Craig Newman > > > > -----Original Message----- > From: Jerry Jensen <j...@jhj.com> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Sent: Mon, Jan 23, 2012 12:43 pm > Subject: Re: mouseControl > > > Because no new messages get noticed during execution of a handler unless > there > is a wait . . . with messages. > > On Jan 23, 2012, at 2:33 PM, dunb...@aol.com wrote: > >> Ken. >> >> >> The wait thing worked. Don't know why it should. Thank you. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: Ken Ray <k...@sonsothunder.com> >> To: How to use LiveCode <use-livecode@lists.runrev.com> >> Sent: Mon, Jan 23, 2012 11:59 am >> Subject: Re: mouseControl >> >> >> >> On Jan 23, 2012, at 3:17 PM, dunb...@aol.com wrote: >> >>> >>> >>> Sorry if this has been answered already. Possibly to me. >>> >>> >>> What is wrong with this: >>> on mouseUp >>> repeat until the mouseclick >>> put the mouseControl >>> end repeat >>> end mouseUp >> >> Try "repeat until the mouse is down" … if that doesn't work, add in "wait 0 >> milliseconds with messages" inside your repeat loop; you may need to give LC >> time to get the message to respond >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Email: k...@sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode