Does anybody know, who to show a context-menu when right-clicking (i.e. a DzListViewItem).
Following code does not work:
var menu = new DzMenu();
menu.addItem("Clear Poses");
menu.addItem("Clear Shapes");
menu.exec();
results in:
Script Error: Line 276
TypeError: no constructor for DzMenu
Stack Trace: ()@X:/.../Library/Properties/UI/CQuickFigureDialog.dsa:276
Is there a constructor for DzMenu?