von hr.hartwig » So, 17.10.2010 23:20
Hallo
Die Position eines selekktierten Eintrages einer Listbox bekomme ich mit
Code: Alles auswählen
oForm = ThisComponent.DrawPage.Forms.getByName("MainForm")
oListCtrl = ThisComponent.CurrentController.GetControl(oForm.getByName("lstLand")
MsgBox oListCtrl.SelectedItemPos
Wie frage ich die Position einer Listbox ab, wenn sie sich in einem Tabellen-Kontrollfeld befindet?
Vielen Dank im voraus für Eure Hilfe.
Gruß,
Hotti
Hallo
Die Position eines selekktierten Eintrages einer Listbox bekomme ich mit[code] oForm = ThisComponent.DrawPage.Forms.getByName("MainForm")
oListCtrl = ThisComponent.CurrentController.GetControl(oForm.getByName("lstLand")
MsgBox oListCtrl.SelectedItemPos[/code]Wie frage ich die Position einer Listbox ab, wenn sie sich in einem Tabellen-Kontrollfeld befindet?
Vielen Dank im voraus für Eure Hilfe.
Gruß,
Hotti