How to select and move an image using 1 mouse click?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Jul 5 08:27:06 EDT 2007


Hi Ian,

on mouseDown
   grab me
end mouseDown

Does not work for you?

Le 5 juil. 07 à 13:39, Ian McKnight a écrit :

> Hi
>
> I have written an application which allows the user to choose an image
> by clicking on a button displaying an icon sized representation of the
> image. The image appears (it is copied from a custom prop into a
> 'blank' image) and can then be moved under mouse control to any
> location on the screen. This process takes two mouse clicks; the first
> to select the shape and the second to grab the image itself, and works
> perfectly.
>
> However the affect I would like is that as soon as I mousedown on the
> button, my larger image appears under the mouse which can then be
> dragged to any location on the screen before being released ie a one
> click solution.
>
> Any help would be greatly appreciated.
>
>
> Thanks
>
> Ian
>
> =======================
> Ian McKnight
>
> iangmcknight at googlemail.com



Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the Use-livecode mailing list