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 Waxavi, Today, 02:10 AM
    0 responses
    4 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Started by TradeForge, Today, 02:09 AM
    0 responses
    11 views
    0 likes
    Last Post TradeForge  
    Started by Waxavi, Today, 02:00 AM
    0 responses
    2 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Started by elirion, Today, 01:36 AM
    0 responses
    4 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by gentlebenthebear, Today, 01:30 AM
    0 responses
    5 views
    0 likes
    Last Post gentlebenthebear  
    Working...
    X