Andreas,

Thanks for the reply, doe it also explains:

When using Xray on a doc with BasicModules and a dialog i get acces to the ModuleContainer an can copy the modules but i get a "nul object" for the DialogContainer.

xray oTemplate.getLibraryContainer.getbyname("Standard").getModulecontainer
xray oTemplate.getLibraryContainer.getbyname("Standard").getDialogContainer >> "nul object"

I


Andreas Bregas schreef:
Hi Fernand,

I can copy/install  a Basiclibrary  from one Doc to a other Doc!!!

But:  i can not copy/install the BasicDialogs of the same library ???

I can get the Dialoglibrary of the current document (= DialogLibraries)

You can? I'm surprised, because this should be the problem.
Documents support a property "BasicLibraries" referencing
the document's Basic library container.

But a corresponding "DialogLibraries" property is missing.
The reason is that there's nearly no use in accessing dia-
log libraries by API because the content type is a XInput-
StreamProvider interface providing access to the dialog's
XML representation. This can only be used by a dialog loa-
der that is accessible via C++ API only.

But your copying scenario of course makes sense, so the
"DialogLibraries" property is a missing feature. But proba-
bly it will be available soon as it has become important in
a completely different context.

Regards

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to