To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=104948
------- Additional comments from [email protected] Tue Sep 15 15:45:23 +0000 2009 ------- There is a possibility to pass this bug, using StringItemList instead of setListEntrySource(). It doesn't resolve the use of setListEntrySource, but resolve the question about the way to add listBox with macro. ----------- monShape = monDoc.createInstance("com.sun.star.drawing.ControlShape") monShape.setSize(laTaille) monShape.setPosition(laPos) leType = monDoc.createInstance("com.sun.star.form.component.ListBox") leType.Dropdown = true leType.Enabled = true leType.LineCount = 5 leType.name = "lisBox_toto" leType.StringItemList = Array("Text 1", "Text 2", "Text 3") monShape.setControl(leType) myDp.add(monShape) ----------------- --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
