Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BrushPicker to collect user input from Menu

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

    BrushPicker to collect user input from Menu

    How to collect user input for color to be used ? I want to add BrushPicker as one of Menu item or right click menu item of drawing tool.

    #2
    Hi nandhumca, thanks for posting.

    We have an example of a user selected brush here:


    Note the required serialization so it can be saved in a workspace/template.

    Kind regards,
    -ChrisL

    Comment


      #3
      Thanks Crhis for the reply. Actually I want to modify existing TrendChannel drawing class and add my menu item on existing menu items of right click. I would like to keep this BrushPicker as one of menu item to collect the color from user.

      Comment


        #4
        Hi nandhumca, thanks for the follow up.

        We have an example of a context menu from a drawing tool here:
        https://ninjatrader.com/support/foru...g-tool-example

        The color of the drawing tool can also be changed by double clicking it.

        Kind regards,
        -ChrisL

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        82 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        43 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        56 views
        0 likes
        Last Post CarlTrading  
        Working...
        X