• 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

how to make draw item non-selectable

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

    how to make draw item non-selectable

    I thought there was something that I put in initialize that makes draw items selectable or not selectable - can not find in docs or in forum

    I am using drawrectangle and do not want it selectable

    how do I do this?

    #2
    Hello tulanch,

    Thank you for your post.

    There is no option to make the drawing object not selectable. However, you can set AllowRemovalOfDrawObjects to false: http://www.ninjatrader.com/support/h...rawobjects.htm
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by tulanch View Post
      I thought there was something that I put in initialize that makes draw items selectable or not selectable - can not find in docs or in forum

      I am using drawrectangle and do not want it selectable

      how do I do this?
      DrawObjects are locked by default. That means that, while selectable, they cannot be moved. Are you trying to prevent their properties from being changed?

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by bosajin, Yesterday, 06:27 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by stefanrvc, Today, 04:59 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Marco  
      Started by 7robert, Yesterday, 08:30 PM
      2 responses
      16 views
      0 likes
      Last Post NinjaTrader_Marco  
      Started by pjsmith, Today, 01:13 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Started by yukashg, Yesterday, 09:56 PM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Working...
      X