Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Panel Control

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

    Panel Control

    In NT7 I was able to use the following line to get the Panel object

    Screen.FromControl(ChartControl.ChartPanel)

    In NT8, the code above doesn't work. Neither does the following:
    Screen.FromControl(ChartControl.ChartPanels[0]) because it is a ChartPanel object. Where is the Panel object?

    #2
    Hello,

    Thank you for the post.

    The windows in NT8 have changed considerably and no longer use Winforms, instead WPF is used.

    You can access many of the charts options using the ChartControl, ChartScale and ChartPanel obljects in general. http://ninjatrader.com/support/helpG...n-us/chart.htm

    If you are trying to access the screen in which the windows is located, you would likely need to search for the WPF syntax for that as well, here is one example: http://stackoverflow.com/questions/2...f-window-is-in

    This would not be something I could specifically assist with further, but this information should allow you to experiment to find what is correct for what you are trying to do.


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by junkone, Today, 11:37 AM
    0 responses
    2 views
    0 likes
    Last Post junkone
    by junkone
     
    Started by quantismo, 04-17-2024, 05:13 PM
    5 responses
    34 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by proptrade13, Today, 11:06 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    34 views
    0 likes
    Last Post love2code2trade  
    Started by cls71, Today, 04:45 AM
    2 responses
    10 views
    0 likes
    Last Post eDanny
    by eDanny
     
    Working...
    X