Re: [libreoffice-users] can't select an entry of a listbox

2015-06-20 Thread X Roemer
I found a solution: Selection is possible after the control has been added to a window. Am 20.06.2015 um 13:57 schrieb X Roemer: Hi, I'm trying to select a listbox entry by the code beneath, but I receive -1 as position and an empty string as entry. Do I miss something? Regards, Xaver ct

[libreoffice-users] can't select an entry of a listbox

2015-06-20 Thread X Roemer
Hi, I'm trying to select a listbox entry by the code beneath, but I receive -1 as position and an empty string as entry. Do I miss something? Regards, Xaver ctx = uno.getComponentContext() smgr = ctx.ServiceManager type = 'ListBox' ctrl = self.mb.smgr.createInstanceWithContext("com.sun.star