How to click/drag an object

View: New views
8 Messages — Rating Filter:   Alert me  

How to click/drag an object

by Judy Perry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: How to click/drag an object

by Mark Schonewille-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: How to click/drag an object

by Scott Rossi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Recently, Judy Perry wrote:

> 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.

Can you use the grab command?

If not, you can write your own drag routine.  This demo stack can help
(execute in your message box):

  go url "http://www.tactilemedia.com/download/drag_sample.rev"

Essentially you use mouseMove to set the positions of stuff while the mouse
is down.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: How to click/drag an object

by Judy Perry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, Mark!

That seems to do the trick :-D

Judy

On 5/12/08, Mark Schonewille <m.schonewille@...> 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@...
>  Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: How to click/drag an object

by J. Landman Gay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Judy Perry wrote:

> Thanks, Mark!
>
> That seems to do the trick :-D
>
> Judy
>
> On 5/12/08, Mark Schonewille <m.schonewille@...> 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

Scott's mousemove solution is the one we talked about and will work much
better.

--
Jacqueline Landman Gay         |     jacque@...
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: How to click/drag an object

by Judy Perry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, Jacque & Scott,

It will be a few days until I can check out Scott's solution, as my
MBP's harddrive died last Wednesday, and my G4 iBook backup refused to
boot yesterday... :-(

Judy

On 5/12/08, J. Landman Gay <jacque@...> wrote:

> Judy Perry wrote:
>
> > Thanks, Mark!
> >
> > That seems to do the trick :-D
> >
> > Judy
> >
> > On 5/12/08, Mark Schonewille
> <m.schonewille@...> 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
> > >
> >
>
>  Scott's mousemove solution is the one we talked about and will work much
> better.
>
>  --
>  Jacqueline Landman Gay         |     jacque@...
>  HyperActive Software           |     http://www.hyperactivesw.com
>
>  _______________________________________________
>  use-revolution mailing list
>  use-revolution@...
>  Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: How to click/drag an object

by Stephen Barncard-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Speaking of hardware problems -- I had a strange thing happen with my
G5 tower the other day..

The 23" cinema screen would go blank for no reason, even though
iTunes and perhaps other things were running.... other times the
cursor would get wonky.....   I google'd   "G5 screen goes blank" on
another computer.

and a couple of forums were talking about similar problems...

turns out to be DUST ON THE GRAPHICS CARD.......

a little canned air.... and      FIXED!

beware! dust is not your friend! But Google sure is.....


sqb


>Thanks, Jacque & Scott,
>
>It will be a few days until I can check out Scott's solution, as my
>MBP's harddrive died last Wednesday, and my G4 iBook backup refused to
>boot yesterday... :-(
>
>Judy

--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Parent Message unknown Re: How to click/drag an object

by Judy Perry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I had a somewhat similar experience with my MacBookPro.  Now,
admittedly, it had suffered a most unfortunate impact/altitude
adjustment (falling about 3 feet to the limestone floor below while
the drive was up and spinning) but continued to function for a couple
of months.  But the harddrive was slowly deteriorating until it became
unusable.  Given that this happened so long after the initial fall, I
decided to google 'MPB drive crashes' and such, and, lo and behold, it
seems that others have had similar problems (unrelated to the MPB's
falling down incident).

Still, my bets are on the harddrive being damaged from the fall.  I'm
really hoping it's not a cracked motherboard even though I have a new
MacBook ordered and on the way  :-(

Judy
"my new BFF is Google"

On Tue, May 13, 2008 at 12:29 PM, Stephen Barncard
<stephenREVOLUTION2@...> wrote:

> Speaking of hardware problems -- I had a strange thing happen with my G5
> tower the other day..
>
>  The 23" cinema screen would go blank for no reason, even though iTunes and
> perhaps other things were running.... other times the cursor would get
> wonky.....   I google'd   "G5 screen goes blank" on another computer.
>
>  and a couple of forums were talking about similar problems...
>
>  turns out to be DUST ON THE GRAPHICS CARD.......
>
>  a little canned air.... and      FIXED!
>
>  beware! dust is not your friend! But Google sure is.....
>
>
>  sqb
>
>
>
>
> > Thanks, Jacque & Scott,
> >
> > It will be a few days until I can check out Scott's solution, as my
> > MBP's harddrive died last Wednesday, and my G4 iBook backup refused to
> > boot yesterday... :-(
> >
> > Judy
> >
>
>  --
>
>
>  stephen barncard
>  s a n  f r a n c i s c o
>  - - -  - - - - - - - - -
>
>
>
>
>
>  _______________________________________________
>  use-revolution mailing list
>  use-revolution@...
>  Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
>  http://lists.runrev.com/mailman/listinfo/use-revolution
>
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution