On Tue, Jan 17, 2017 at 12:42 PM, Yves COPPE via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Is it possible with LC to have a sliding on side effect when moving
> horizontally the finger on the mouse as to let appear a « red btn »
> underneath another on front with label for example « Remove » ?


If you mean what I think you mean, you can use "on mouseMove":

on mouseup

if the thumbpos of me <> the savedThumPos of this stack then

--it changed

doSomething

end if

set the  savedThumPos of me to the thumbPos of me

end mouseup

(you might need to set the new value before doSomething if that takes a
moment and the thumbPos could change while it happens.  I like it where it
is so that it isn't set if the script bombs.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
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

Reply via email to