Which should I do first?
1. Say Thank you for your help
2. Be amazed that the Wonderful Jeanne A. E. DeVoto has resurfaced after
a very, very long time
in purdah?
Lobve, Richmond.
On 26.08.2016 22:15, Jeanne A. E. DeVoto wrote:
At 9:40 PM +0300 8/26/2016, Richmond wrote:
on mouseUp
*--pseudocode*
if the name of the object *underneath* this image contains "P" then
do nothing
else
send image "P" somewhere else
end if
*--end pseudocode*
end mouseUp
and I'm looking for help.
I think you'll need to test whether the pointer is within each control:
repeat with x = 1 to the number of controls
if within(control x, the mouseLoc) AND ("P" is not in the short
name of control x) then
send image "P" somewhere else
exit repeat -- presumably you only want the first one
end if
end mouseUp
_______________________________________________
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