Hi to all, In a openoffice macro in python i've defined a dropdown list like this.
dropDownList = dialogModel.createInstance("com.sun.star.awt.UnoControlListBoxModel" ) dropDownList.PositionX = 30 dropDownList.PositionY = 30 dropDownList.Width = 50; dropDownList.Height = 14; dropDownList.Name = "DDL"; dropDownList.Dropdown = True dropDownList.MultiSelection = False dropDownList.StringItemList = ("1", "2", "3") I've placed it in a dialog and it runs just fine. But how can i write a listener (in python) that write the selected value in a global variable? Thanks to all --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org