• 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

What replaces ChartPanel.Click?

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

    What replaces ChartPanel.Click?

    In NT 7, to wire up a method to capture clicks from the chart panel I used the code:

    ChartPanel.Click += clickHandler;

    In NT 8, ChartPanel.Click is missing.

    What is the recommended way to wire up a mouse click handler on the chart?

    Thanks,
    Gary

    #2
    The only way I've found is to use the ChartPanel.PreviewMouseLeftButtonUp event. For some obscure reason all ChartPanel's mouse events triggered by Left mouse button are being suppressed

    Comment


      #3
      You might want to have a look here?

      http://ninjatrader.com/support/forum...ad.php?t=75573

      Comment


        #4
        Hello Gary,

        To add a mouse click listener and event use ChartPanel.MouseDown += clickHandler;

        sledge is correct with his link. There was an issue with Beta 2 where the left click is suppressed, and this will be corrected in Beta 3.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Fernand0, Today, 09:53 PM
        0 responses
        3 views
        0 likes
        Last Post Fernand0  
        Started by traderpards, Today, 09:55 AM
        4 responses
        22 views
        0 likes
        Last Post Lancer
        by Lancer
         
        Started by franco12364, Today, 06:49 PM
        0 responses
        4 views
        0 likes
        Last Post franco12364  
        Started by fx.practic, Today, 03:55 PM
        0 responses
        1 view
        0 likes
        Last Post fx.practic  
        Started by fx.practic, Today, 03:09 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X