Hi Jonny,
> 
> This works, but what about oDlg and oCtl? Are there special data types for
> them too? The documentation I've found so far doesn't give any hints at
> all. I tried this:
> Dim Dlg As com.sun.star.awt.XDialog ' No error here,
> ' but next line throws an error:
> oDlg = CreateUnoDialog(DialogLibraries.Standard.MyDialogue)
> ' Error: No access to object.
> '        Invalid usage of the object.
> ' Well, something like that, it's actually in Swedish.

What is the name of the dialog? Is ist called "MyDialogue"?. It should
appear at the left (catalog of objects - don't konwo if this is the
right name ..) and at the bottom (like the standard "Module1")

Declare the dialog first, out of a sub:
DIM oDialog0 AS OBJECT

Start the dialog:

SUB Dialog0Start
DialogLibraries.LoadLibrary("Standard")
oDialog0 = createUnoDialog(DialogLibraries.Standard.Dialog0)
oDialog0.Execute()
END SUB

Name of the dialog is "Dialog0"

End the dialog:

SUB Dialog0Ende
oDialog0.EndExecute()
END SUB

Regards

Robert
-- 
Homepage: http://robert.familiegrosskopf.de
LibreOffice Community: http://robert.familiegrosskopf.de/map_3


-- 
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to