Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Please add a FileName Property Type

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

    Please add a FileName Property Type

    It would be nice to be able to declare a Property as something like a FileName datatype. This would make it easier to change its value by clicking the small ellipsis button on the property which opened the OpenFileDialog.

    It would also be nice if a little PLUS appears which split the full file path into 2 properties: FileName & FilePath.

    Why?
    Makes it easier for to create properties which select Sound files for various alert conditions within your indicator. Makes if much easier to help the Trader correctly change its value.

    This would require that you provide the TypeConverter, UITypeEditor & tag your FileName datatype Class with the Serialization attribute.

    I have this code working for Ninja v6.5, happy to share it with you.
    Less happy to make it public as I'm concerned that if everyone starts using it in their own code, it'll cause namespace conflicts. (Like D3Spotter all over again)
    Attached Files

    #2
    Hello,

    I will send your suggestion to our development department for consideration, thank you!
    DenNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Barry Milan, Yesterday, 10:35 PM
    5 responses
    16 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by DanielSanMartin, Yesterday, 02:37 PM
    2 responses
    13 views
    0 likes
    Last Post DanielSanMartin  
    Started by DJ888, 04-16-2024, 06:09 PM
    4 responses
    12 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by terofs, Today, 04:18 PM
    0 responses
    11 views
    0 likes
    Last Post terofs
    by terofs
     
    Started by nandhumca, Today, 03:41 PM
    0 responses
    8 views
    0 likes
    Last Post nandhumca  
    Working...
    X