deutsches Forum rund um Apache OpenOffice und LibreOffice
Zum Inhalt
von Steffan » Mi, 13.09.2006 21:04
von Stephan » Mi, 13.09.2006 16:11
wie kann ich einer Listbox in einem Dialog ein Makro beim Doppelklick auf einen Eintrag zuordnen? Geht das überhaupt?
Code: Alles auswählen
Dim oDialog1 AS Object Dim oForm As Object Sub StartDialog1 oForm = DialogLibraries.Standard.Martin oDialog1 = CreateUnoDialog( oForm ) oDialog1.execute end sub Sub d_klick inhalt = oDialog1.GetControl("ListBox1") Select Case inhalt.selectedItem Case "Eintrag1" erster Case "Eintrag2" zweiter Case "Eintrag3" dritter End Select End Sub Sub erster Msgbox "Erster" End Sub Sub zweiter Msgbox "Zweiter" End sub Sub dritter Msgbox "Dritter" End Sub
von Steffan » Mi, 13.09.2006 13:24
von ykcim » Mi, 13.09.2006 10:48
von Steffan » Di, 12.09.2006 18:52
Nach oben