Hallo Jörg,
[...]
> Also bitte Code posten, vor allem auch weil denjenigen die Dir
> mutmaßlich helfen können der Code (auch unkommentiert) mehr sagt als
> jede noch so umfangreiche verbale Beschreibung des Codes.
ich habe gestern noch die Fehlermeldung Eigenschaft oder Methode nicht
gefunden beseitigt. Nun will ich also im Textdokument vorhandene
Textmarken in einer Listbox anzeigen und durch Anklicken auswählen
lassen. Bis jetzt ist die Listbox noch leer. :-(
---code---
DialogLibraries.LoadLibrary ("Standard")
oDialog = CreateUnoDialog (DialogLibraries.Standard.dTextmarke)
oListBox = oDialog.getControl ("ListBox1")
For i = 0 to ubound (oListBox.model.StringItemList ())
'oBookmark = oDoc.Bookmarks.getByIndex (i)
sBookmarkName = oDoc.Bookmarks.getbyName ()
oListBox.addItem (sBookmarkName, 1) 'Hinzufügen von Listen-Strings
MsgBox oListBox.model.StringItemList (i)
Next i
oListBox.SelectItemPos (0, true)
oDialog.Execute
oSelect = oListBox.SelectedItem
MsgBox oSelect
---code---
Danke und Gruß
Kornelia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]