Hallo Horst,
> ich habe einen Dialog mit einer Listbox und will dort wie in der Hilfe
beschrieben Items einfügen.
also bei mir funktioniert das:
Sub Main
oLibContainer = DialogLibraries
oLibContainer.LoadLibrary("Standard")
oLib = oLibContainer.getByName("Standard")
Hallo Oliver,
danke, das läuft.
Mein Befehl
MyDlg= CreateUnoDialog(Dialoglibraries.Standard.Dialog1)
läuft wohl nicht. mit
MyDlg = CreateUnoDialog(Dialoglibraries.Standard.getByName("Dialog1"))
funktioniert es.
Horst
Am 28.01.2016 um 18:23 schrieb Oliver Brinzing:
Hallo Horst,
> ich habe
Hallo,
Am 28.01.2016 um 19:28 schrieb Bernd Obermayr:
Hi,
schau Dir mal die OO makros an, unter tools>listbox gibts einige Beispiele,
vielleicht ist da was dabei
ja, danke, da habe ich schon gestöbert. Aber es lief auch nicht, weil
ich wohl den falschen Objektaufruf gemacht hatte.
Horst
Hallo
ich habe einen Dialog mit einer Listbox und will dort wie in der Hilfe
beschrieben Items einfügen. Dabei treten verschiedene Fehler auf.
Was habe ich übersehen?
Dim MyDlg as Object
Dialoglibraries.Loadlibrary("Standard")
MyDlg= CreateUnoDialog(Dialoglibraries.Standard.Dialog1)