Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Collapsing sections

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

    Collapsing sections

    Is there any way to create sections that collapse / expand (with a click of the little plus or minus sign on the left hand sign of the page right after the line value) the way certain sections do when editing script? For example the "Variables" section expands and collapses with a click of the + or - to the left of it.

    Thanks.

    #2
    Originally posted by 8DTK8 View Post
    Is there any way to create sections that collapse / expand (with a click of the little plus or minus sign on the left hand sign of the page right after the line value) the way certain sections do when editing script? For example the "Variables" section expands and collapses with a click of the + or - to the left of it.

    Thanks.
    Do you mean regions? Try the following:

    #region MyCode
    //Stick you code in

    #endregion

    Comment


      #3
      Nice!

      My Page Up, Page Down, up arrow and down arrow keys, my scroll wheel and I all thank you very much.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ZeroKuhl, Yesterday, 04:31 PM
      7 responses
      40 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by xepher101, Today, 12:19 PM
      1 response
      21 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by jpeep, 08-16-2020, 08:31 AM
      16 responses
      498 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by sastrades, Today, 09:59 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by DawnTreader, 05-08-2024, 05:58 PM
      14 responses
      46 views
      0 likes
      Last Post DawnTreader  
      Working...
      X