You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Riccardo Arzenton <ri...@yacme.com> on 2014/02/22 17:24:34 UTC
Listener forUnoControlListBoxModel awt python
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-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org