|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
How to click/drag an objectHi 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 objectHi 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 objectRecently, 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 objectThanks, 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 objectJudy 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 objectThanks, 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 objectSpeaking 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 |
|
|
|
| Free Forum Powered by Nabble | Forum Help |