Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Minimize or Temporarily Hide Rows in Ninjascript

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

    Minimize or Temporarily Hide Rows in Ninjascript

    Hello,

    One my strategies requires a large amount of rows in NinjaScript. I am using NT8.

    Is there a way to add a button or something like it to where I can minimize or hide sections of code so that I don’t have to scroll 1000s of rows up and down frequently?

    I noticed some of these “+” buttons exists in the code by default which allows the code to be hidden when pressed. Is there a way to add more of these “+” buttons?

    #2
    Hello centrino2,

    Thanks for your post.

    You can add "regions" to make your code easier to deal with and these will display the "+" when collapsed and the "-" when expanded.

    for example:

    #region This is my region
    //lines of code here
    //lines of code here
    //lines of code here
    //lines of code here
    #end region

    When collapsed would show as [+] This is my region

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    199 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    365 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    283 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X