Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


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: users+unsubscribe@global.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.