• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Keep Drawing Tool Anchors Visible

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

    Keep Drawing Tool Anchors Visible

    When coding a custom drawing tool, is there a way to specify that the anchors will be visible even when the tool is not selected.

    I am working on a indicator that uses the anchor values from a user drawn tool. I don't really want to have the drawing tool display anything other than the anchors so the user can still select and move the anchor locations.

    If this is not possible, then I do have a work around and can draw a dot or something similar where the anchors are. The drawback to this workaround is it requires an extra mouse click to relocate the anchors.

    Thanks for your help.

    #2
    Hello gregschr,

    Theoretically the Anchor's .IsEditing property could be set / kept to true in the OnMouseDown method.

    This may cause unexpected behavior as this is not the intended behavior for a drawing object.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks ChelseaB,

      Your suggestion made me realize even if the anchors were still visible, an extra click would be required anyway, to change the DrawingState from Normal to Editing.

      I think I will stay with multiple clicks, rather than keep the tool in editing mode.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by tonynt, Today, 12:39 PM
      0 responses
      8 views
      0 likes
      Last Post tonynt
      by tonynt
       
      Started by Martyb, 06-13-2019, 05:14 AM
      10 responses
      77 views
      0 likes
      Last Post iq200
      by iq200
       
      Started by Erwin Beckers, 11-04-2018, 02:39 AM
      4 responses
      71 views
      2 likes
      Last Post brucerobinson  
      Started by ntbone, Today, 01:25 AM
      0 responses
      6 views
      0 likes
      Last Post ntbone
      by ntbone
       
      Started by bomanpbm, Yesterday, 09:27 PM
      0 responses
      8 views
      0 likes
      Last Post bomanpbm  
      Working...
      X