mouseControl

Jerry Jensen jhj at jhj.com
Mon Jan 23 17:41:30 EST 2012


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, dunbarx at aol.com wrote:

> Ken.
> 
> 
> The wait thing worked. Don't know why it should. Thank you.
> 
> 
> Craig Newman
> 
> 
> 
> -----Original Message-----
> From: Ken Ray <kray at sonsothunder.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Sent: Mon, Jan 23, 2012 11:59 am
> Subject: Re: mouseControl
> 
> 
> 
> On Jan 23, 2012, at 3:17 PM, DunbarX at 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: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.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