Fernand Vanrie schreef:
Cor Nouws schreef:
Hi Fernand,
Fernand Vanrie wrote:
When I use the filepicker (com.sun.star.ui.dialogs.FilePicker) to
choose a name/directory, it doesn't show the given name, when there
is no other file of the same type in the directory.
See http://www.openoffice.org/issues/show_bug.cgi?id=79211
Is there anyone with an idea for a possible work around?
I can not reproduce your isue with my filepicker cde on a Windoxs
machine.
But i just tryed to set mi Genral OO options with no use of the
oo-dalogs and then i foud the sme isue.
So check if your general options are set to uses OO dialogs
Hope it helps
Thanks. It does help.
It limits the chooise for the dialog, but it ís a work around.
We can changhe this option by the API ? , i have a look at it , if you
found tit beforre , please post it i can se it also
greetz
Fernand
OK : here is the code i did it years agoo but orgot the exitence :-)
Sub ChangeSystemFileDialog
dim aArgs(0) as Object
dim aPropValue as new com.sun.star.beans.PropertyValue
xconfig =
createunoservice("com.sun.star.configuration.ConfigurationProvider")
aPropValue.Name = "nodepath"
aPropValue.Value = "org.openoffice.Office.Common/Misc"
aArgs(0) = aPropValue
xAccess =
xconfig.createinstanceWithArguments("com.sun.star.configuration.ConfigurationUpdateAccess",aArgs())
aIsSystemDialog =
xAccess.getHierarchicalPropertyValue("UseSystemFileDialog")
xAccess.replaceByName("UseSystemFileDialog", true)
xAccess.commitChanges
End Sub
greettz
Fernand
I'll add a note to the issue.
Cor
---------------------------------------------------------------------
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]