• 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

Is there a way to lock the Panel Splitters

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

    Is there a way to lock the Panel Splitters

    I would like to know if there is a way to lock the panel splitters to prevent the user from resizing the chart panels. Is this property exposed anywhere?

    I have some code that resizes the chart panels to a percentage of the total height and I would like to lock the panels down so that the user can not accidentally change the height of the panels.

    I see that there is a line object in the chart properties called Panel Splitter that controls the appearance of this line. What I would love to do would be something like:

    Code:
    foreach(Line panelSplitter in SOMEWHERE)
    {
         (panelSplitter as IDrawingTool).IsLocked = true;
    }
    Obviously this would need to be something tricky. But can it be done?
    Last edited by Iridium237; 02-08-2016, 12:24 PM.

    #2
    Hello Iridium237,

    Thanks for your post and welcome to the forums!

    There is not current a method to accomplish this.

    If you like I would be glad to create a feature request so that this can be considered going forward. To add context to the question, how would you expect the chart to behave if the user decides to add another indicator (in another panel)? Is it your thought to completely lock the chart so the user cannot effect any changes? Would you allow the user to create another chart that copies the locked one in either a new tab or a new window and would you allow the user to then unlock the chart? Appreciate your thoughts and feedback to a potential feature request.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Wingo, Today, 04:52 PM
    1 response
    9 views
    0 likes
    Last Post bltdavid  
    Started by Bionian, Today, 10:10 AM
    3 responses
    20 views
    0 likes
    Last Post Bionian
    by Bionian
     
    Started by D Trader, Today, 01:41 PM
    0 responses
    13 views
    0 likes
    Last Post D Trader  
    Started by rexmie888, Today, 04:00 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by terminatorT1000, Today, 01:23 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Working...
    X