could someone tell me what I would have to change in cParent and cRbParent in addSubMenu() and addMenuItem() in a custom tool in order to get my icon/tool displayed here:
Format - Text Editing Tools
Code: Select all
app.addSubMenu({ cName: "symbolsTR", cUser: "Alpha", cParent: "-", cRbParent: "Format", bNewRbGroup: true, nRbGroupStyle: 2 });
app.addMenuItem( {
cName: "alpha",
cUser: "Alpha",
oIcon: alphaIcon,
cTooltext: "",
cParent: "Format",
cRbParent: "rbar.format.properties", // add to comment tools on home ribbon
cEnable: "event.rc = (this.selectedAnnots?.length)",
cExec: "executeAlphaFct(this)"
});
Thanks in advance!
Niklas