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 funk10101, Today, 09:43 PM
    0 responses
    6 views
    0 likes
    Last Post funk10101  
    Started by pkefal, 04-11-2024, 07:39 AM
    11 responses
    37 views
    0 likes
    Last Post jeronymite  
    Started by bill2023, Yesterday, 08:51 AM
    8 responses
    44 views
    0 likes
    Last Post bill2023  
    Started by yertle, Today, 08:38 AM
    6 responses
    26 views
    0 likes
    Last Post ryjoga
    by ryjoga
     
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    24 views
    0 likes
    Last Post algospoke  
    Working...
    X