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 CortexZenUSA, Today, 12:53 AM
    0 responses
    1 view
    0 likes
    Last Post CortexZenUSA  
    Started by CortexZenUSA, Today, 12:46 AM
    0 responses
    1 view
    0 likes
    Last Post CortexZenUSA  
    Started by usazencortex, Today, 12:43 AM
    0 responses
    2 views
    0 likes
    Last Post usazencortex  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    168 responses
    2,262 views
    0 likes
    Last Post sidlercom80  
    Started by Barry Milan, Yesterday, 10:35 PM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X