SOLVED Treeview and Right Click

I implemented a treeview and it is working ok.
Now I want to add the right click function.
Right click opens a context menu, so I need to add my own menu item to the context menu. That is working too.

Except I do not know how to remove the the default context menu items (Remove and Remove All).

I read this in the manual.
54ebc76e-df67-410e-aa28-f9cf8da273c4-image.png

Since it is a BaseContainer you simply remove them via RemoveData()

@mp5gosu said in Treeview and Right Click:

RemoveData()

Great, thanks.