Hello, I have the same problem. I try to do it within Epic 5.2. I use Java.
toolbar_ = window.loadComponentFile(toolbarPath);
I want to check and uncheck the checkbox when the corresponding toggle menu item is selected.
But I've got acl id of this toolbar_ equal to -1, that's why I can't use dlgitem_set, because the id of toolbar_ is incorrect (negative).
Hello!
I am able to hide my checkbox within toolbar.
Acl.func("window_load_component_file",String.valueOf(window.getAclId()),toolbarPath) ;
Acl.func("dlgitem_set", String.valueOf(window.getAclId()), "Toolbar_TRCheckInterAct", "visible", "0");
But
Acl.func("dlgitem_set", String.valueOf(window.getAclId()), "Toolbar_TRCheckInterAct", "VALUE", "1");
does not work.
Is there an alternative way to check the checkbox?
BTW, when I've made a simple dialog window via createDialogFromFile call with a single check box, the pair "VALUE",1" worked fine.
Hello, Chris!
Thank you very much. The pair "ON", "1" works - the checkbox becomes checked.
BTW, I have not found the item ON in the Arbortext Editor 5.2 chm help (the screenshot has been attached).
Perhaps, you have copied ON item description from Arbortext Editor 6.x help.