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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        47 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X