Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Hierarchical context menus
Collapse
X
-
Hierarchical context menus
Hi, for an indicator that I am developing I would like to add a menu item in the context menu (which pops up at mouse right click) whose label is "Entry A". In addition, I also need to create a list of menuitems which are children of "Entry A". Those children have labels "Entry A1", "Entry A2". I will create click actions if I click under the second level entries "Entry A1" and "Entry A2". Can you help me doing this showing some code example? Thank you so much in advanceTags: None
-
Hello Jesse,
thanks for your answer! I am sorry but in the example that you shared I was not able to find how to create in the context menu a new menu item which has several menu items as children. I mean, creating something like the "Instruments" or "Interval" entries in the default context menu which have a second level of menu item associated to them. Do you have any example on how I can create this?
Thank you in advance!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
41 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
29 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
46 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
37 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment