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 <[email protected]>
To: How to use LiveCode <[email protected]>
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, [email protected] wrote:

> Ken.
> 
> 
> The wait thing worked. Don't know why it should. Thank you.
> 
> 
> Craig Newman
> 
> 
> 
> -----Original Message-----
> From: Ken Ray <[email protected]>
> To: How to use LiveCode <[email protected]>
> Sent: Mon, Jan 23, 2012 11:59 am
> Subject: Re: mouseControl
> 
> 
> 
> On Jan 23, 2012, at 3:17 PM, [email protected] 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: [email protected]
> Web Site: http://www.sonsothunder.com/        
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to