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

Reply via email to