Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drop down list options with spaces

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

    Drop down list options with spaces

    Is it possible to create a drop down list where there are options with more words and spaces (like for example in the attached image) ? I´m using enum and can only do underscores. Also is it possible to lock/hide some other settings in some cases? For example when I check checkbox "Show EMA", I want to hide/lock setting about EMA colour.

    Click image for larger version  Name:	image.png Views:	0 Size:	13.0 KB ID:	1312765​​
    Last edited by Marty125; 08-04-2024, 09:55 AM.

    #2
    Hi Marty,

    Please refer to the attached file below.
    In this file, you can use the case #1 code to show/hide your properties, the case #2 code to lock/unlock your other properties, and the case #4 code to add space to your enum value.


    Regards,
    William
    Attached Files
    Last edited by ninZa; 08-05-2024, 07:08 AM.
    ninZa
    NinjaTrader Ecosystem Vendor - ninZa.co

    Comment


      #3
      Hi ninZa,

      Awesome!!! Thank you so much.

      Comment


        #4
        You are welcome!
        I'm glad to hear that I helped solve your problem.

        Regards,
        William
        ninZa
        NinjaTrader Ecosystem Vendor - ninZa.co

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        213 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        125 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        145 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        228 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        189 views
        0 likes
        Last Post CarlTrading  
        Working...
        X