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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        64 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        93 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        48 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        106 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        63 views
        0 likes
        Last Post PaulMohn  
        Working...
        X