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 cre8able, Today, 01:16 PM
    2 responses
    9 views
    0 likes
    Last Post cre8able  
    Started by chbruno, 04-24-2024, 04:10 PM
    3 responses
    48 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by samish18, Today, 01:01 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by WHICKED, Today, 12:56 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by WHICKED, Today, 12:45 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X