You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2021/03/07 19:28:12 UTC

[Issue 116333] MultiSelectionMode of FilePicker dialog broken in Win7

https://bz.apache.org/ooo/show_bug.cgi?id=116333

oooforum (fr) <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
                 CC|                            |oooforum@free.fr
         Resolution|---                         |FIXED_WITHOUT_CODE

--- Comment #4 from oooforum (fr) <oo...@free.fr> ---
Sub Main
        oFP = createUnoService( "com.sun.star.ui.dialogs.FilePicker" )
        oFP.initialize(
array(com.sun.star.ui.dialogs.TemplateDescription.FILEOPEN_SIMPLE) )
        oFP.setMultiSelectionMode(True)
        oFP.execute()
        oDocs()= oFP.GetFiles            
        For i = 0 To UBound( oDocs()) 
                sDocs = sDocs & oDocs(i) & chr(10)
        Next i
        msgBox sDocs    
End Sub

This code works with AOO 4.1.9 under Win7 or Win10.
You can select multiple files and msgBox returns correct files list.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are on the CC list for the issue.