Mouse click and drag?

Discuss RoboTask here
Post Reply
eric1970
Posts: 1
Joined: Wed Aug 01, 2007 9:52 am
Location: United States

Mouse click and drag?

Post by eric1970 »

I have a MS Project with a form that is a button, I want to click and drag from the All Forms window and drag it up to the toolbar.  How can you click on an item and then drag and drop?
Oleg
Site Admin
Posts: 3010
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Mouse click and drag?

Post by Oleg »

Look at this example. This task moves Notepad window to a new position through mouse actions.
I recommend insert between mouse actions some pause. It's enough 0.2 sec. Pause is necessary in order to wait until window will process all system messages
actchain
Posts: 1
Joined: Thu Mar 17, 2022 1:12 pm

Re: Mouse click and drag?

Post by actchain »

I want a click on an object to cause something on the holding HTML page (not important what that is here). I’m controlling that with the “when clicked” event puzzle, and it works just fine.

The problem I have is that if I drag to make the camera orbit around the scene, and when I click to start dragging, I click on the object that has the “when clicked” puzzle, then the click event is triggered, and it causes the same effect on the holding HTML page, but I don’t want that, because I’m supposedly just dragging.
Is there a way to avoid the click event triggering when I’m dragging?

Thank you!
Last edited by actchain on Fri Mar 18, 2022 1:00 pm, edited 2 times in total.
Oleg
Site Admin
Posts: 3010
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Mouse click and drag?

Post by Oleg »

Look at the Mouse click action
Use Button down option.

Click means that you push and release mouse button.
Oleg Yershov
Post Reply