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 SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
54 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
25 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
17 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
23 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
24 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment