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 twitch251, Today, 05:14 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by robforee2, Today, 05:07 PM
      0 responses
      1 view
      0 likes
      Last Post robforee2  
      Started by blar58, Today, 03:16 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Melissa  
      Started by alcorr247, Today, 02:52 PM
      2 responses
      7 views
      0 likes
      Last Post robforee2  
      Started by Radano, Today, 02:30 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X