On Sunday 13 July 2008, Christoph Jopp wrote:
> Hal Vaughan schrieb:
> > On Sunday 13 July 2008, Christoph Jopp wrote:
> >> Hal Vaughan schrieb:
> >> (...)
> >>
> >>>> 3) The File Browser control doesn't open up any kind of browsing
> >>>> function when I click on "Browse." That would force me to type
> >>>> in all file paths by hand.
> >>>
> >>> This still does not work and is the one outstanding issue: When I
> >>> click on the "Browse" button, nothing happens, but from what I
> >>> read, it should open up a file browser for me. Any idea what I
> >>> need to do or why this doesn't work?
> >>
> >> Seems to be a bug.
> >> I'm able to reproduce this behaviour with OOo 2.4.0
> >> ("OOo-Novell-Edition") on openSuse 10.3 .
> >>
> >> The code
> >>
> >> oFilepicker =
> >> createUnoService("com.sun.star.ui.dialogs.FilePicker")
> >> oFilepicker.execute()
> >>
> >> also results in a RuntimeException.
> >> On the same system with a dev-version of OOo3 (300m19) the
> >> FileControl shows a FileDialog as it should and the above code
> >> works well.
> >>
> >> Hope that helps
> >
> > Yes and no.
> >
> > I know what's wrong.
> >
> > It just means it's a PITA issue because now I have to write in the
> > routine to open a file chooser and get a directory or file, then
> > stick it in the text control. I can do it, I'm just not ecstatic
> > over doing it.
> >
> > Oh, well.
> >
> > Thanks.
> >
> >
> > Hal
> >
> > -------------------------------------------------------------------
> >-- To unsubscribe, e-mail: [EMAIL PROTECTED] For
> > additional commands, e-mail: [EMAIL PROTECTED]
>
> Hi Hal,
>
> found the "bug"!
> For me it is working if I choose in the Options-Menu that OOo should
> use its own open/save dialogs (instead of system dialogs).
> Sorry don't have any english version at hand but the menu-path should
> be something like
>
> tools->options->OpenOffice.org->common->open/save-dialogs
>
> hope this one really helps
Thankfully, I had gone to get supper so I had not yet sat down to write
the code to deal with that! I changed that and it works fine -- and it
looks to me like the OOo file dialogs are the same as what I was using,
so I don't see that there's much of a difference, but that could be the
Linux distro I'm using.
There is a catch, of course: I want to select a directory, not a file,
and it won't let me do that!
It's not the most important feature on this dialog, but it would be nice
to have all the stuff done now because when I'm using this, I'll be
more focused on writing and won't want to have to switch back to
programming mode to fix things like that.
Hal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]