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

oooforum (fr) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED_WITHOUT_CODE

--- Comment #4 from oooforum (fr) <[email protected]> ---
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.

Reply via email to