> Alejandro T. wrote:
> Reading LiveCode Dictionary about the target and send,
> could not find an obvious way to get the name of a message
> sender without putting first this name in another container
> (a custom property, a field or a global variable).
Yet another option could be to use more parameters:
-- b is the button number (obligatory)
-- [b may be also misused for any positive integer]
-- clicking the control with that handler leaves x empty
on mouseUp b,x
switch x
case ...
break
case ...
...
default -- x is empty
-- the direct-click code, use b
end switch
end mouseUp
_______________________________________________
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