Announcement

Collapse
No announcement yet.

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 Renejm, Today, 06:17 AM
      0 responses
      2 views
      0 likes
      Last Post Renejm
      by Renejm
       
      Started by kazisl, Yesterday, 06:41 PM
      2 responses
      9 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by impactX, 05-04-2021, 01:07 AM
      1 response
      6 views
      0 likes
      Last Post Lancer
      by Lancer
       
      Started by op1031, Yesterday, 05:51 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by aaadetos, 05-04-2021, 09:28 AM
      2 responses
      9 views
      0 likes
      Last Post aaadetos  
      Working...
      X