I have these objects
My Macros & Dialogs
lib1
dlg1
LibreOffice Macros & Dialogs
Tools
[etc...]
doc.ods
lib2
subA
dlg2
in subA I have
globalscope.basiclibraries.loadlibrary("Tools")
dlg = loaddialog("libraryname", "dlg2")
so far all i can figure out is that depending on what i put for “libraryname”, the loaddialog call will either not find dlg2 or fail altogether. the only way i have found to make anything work is to cut and paste the loaddialog code from Tools into subA, which is ungood.
[edit : forgot to indicate subA is of course in a module in lib2]