To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=104948 Issue #|104948 Summary|Selection in a listBox created by macro Component|Spreadsheet Version|OOO310m11 Platform|PC URL| OS/Version|Windows Vista Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|ui Assigned to|spreadsheet Reported by|gishimushi
------- Additional comments from gishimu...@openoffice.org Thu Sep 10 08:54:26 +0000 2009 ------- After adding a ListBox with a macro (cf code), no possility for the user to click on the created Listbox to make a selection. Selection must be done with the keyboard only, but note that the value is still blue after selection by keyboard. After saving, closing and re-opening the document, it becomes possible to make a selection by clicking on the list. The problem is not seen on 2.4.2 / Windows XP2 But also seen in 3.1.1 / Windows XP HOME SP3 ---- REM Adding the component myType = monDoc.createInstance("com.sun.star.form.component.ListBox") myShape.setControl(myType) myDrawpage.add(myShape) myCtrl = myShape.getControl() myCtrl.Dropdown = "True" REM Define the list of values oCellRange = ThisComponent.Sheets.getByName("sheet2").getCellRangeByName("B4:B6") Dim initParam(0) as new com.sun.star.beans.NamedValue initParam(0).Name = "CellRange" initParam(0).value = oCellRange.RangeAddress oCellRangeListSource = ThisComponent.createInstanceWithArguments("com.sun.star.table.CellRangeListSource", initParam()) myCtrl.setListEntrySource(oCellRangeListSource) --- --------------------------------------------------------------------- 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: issues-unsubscr...@sc.openoffice.org For additional commands, e-mail: issues-h...@sc.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org