How to click/drag an object

Judy Perry katheryn.swynford at gmail.com
Mon May 12 19:49:51 EDT 2008


Thanks, Mark!

That seems to do the trick :-D

Judy

On 5/12/08, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
> Hi Judy,
>
>  Here's one possibilty.
>
>  on mouseUp -- no need to keep the mousebutton pressed
>   repeat until the mouseClick with messages
>     set the loc of me to the mouseLoc
>     wait 0 millisecs with messages
>   end repeat
>  end mouseUp
>
>  Best,
>
>  Mark
>
>  --
>
>  Economy-x-Talk
>  Consultancy and Software Engineering
>  http://economy-x-talk.com
>  http://www.salery.biz
>
>  Get your store on-line within minutes with Salery Web Store software.
> Download at http://www.salery.biz
>
>  Op 13-mei-2008, om 0:29 heeft Judy Perry het volgende geschreven:
>
>
>
> > Hi all,
> >
> > At the conference I asked Jacque about this and she gave me an idea
> > but, of course, now that I'm back home and ready to work on it, I
> > haven't the foggiest idea of how to proceed (sorry, Mark Wieder -- I
> > also don't remember your solution, alas).
> >
> > What I need is for a user to be able to click on an object (say, a
> > locked field), move the mouse to a destination container (say, a
> > graphic rectangle), with the locked field following the cursor along
> > the way,  and click to drop the locked field within the rectangle.
> >
> > I know I could use a mouseStillDown handler, but, as the user is a 7
> > year old child, I'm not betting on that being successful.
> >
> > Does anyone have any ideas?
> >
> > Kindest thanks,
> >
> > Judy
> >
>
>
>  _______________________________________________
>  use-revolution mailing list
>  use-revolution at lists.runrev.com
>  Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list