Drag command--does this seem right?
dunbarx at aol.com
Wed Dec 21 23:06:29 CET 2016
Because the "target" is always the card. Think about this instead:
if the target contains "button" then --same as "the target <> me" in this
grab the target
Now when you click on the button, the target changes from its initial value
(a card reference) to a button reference, and that will invoke "drag". It
isn't so much, in other words, that you click the mouse, it is that the
target changes when you do. The way you wrote the handler, you have to click
to enable drag.
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-command-does-this-seem-right-tp4711132p4711136.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode