Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

ctor for DzMenu

$
0
0

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?


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>