I'd like to have closable tabs (panel items) in panel.
I've found this reference: https://dojotoolkit.org/reference-guide ... ainer.html
I've tried importing dojo.setAttr like this:
Code: Select all
Import ""
SetDOJOAttribute(node.i, name.s, value.s) As "dojo.setAttr"
EndImport
...
SetDOJOAttribute(GadgetItemID(#MyPanel, 1), "closable", "true")
Code: Select all
Uncaught ReferenceError: spider_GadgetItemID is not defined(…)
Anyway, what would be the proper way to handle that? How would one catch those events in case of closing?