Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Selecting object with click and pressed only

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Selecting object with click and pressed only

    Hi,

    Currently I can select an object and move on my chart by single left mouse click with my script and release the object by another left mouse click. I am trying to select the object and move (like other drawing object) only when single left mouse is clicked and kept pressed, and realease the object when pressed left mouse button is realeased. I hope, I could explain what I am trying to do.
    Any advice on that would be helpful.

    #2
    Hi asmmbillah, thanks for your note.

    Only members of the DrawingTool class have mouse move/down/up events. Unfortunately, I'm not confident that could be done from an indicator.

    Please let me know if I can assist any further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    46 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    67 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    35 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    59 views
    0 likes
    Last Post PaulMohn  
    Working...
    X