On 10/25/06, Carsten Driesner <carsten.driesner sun.com> wrote:
>
> Knut Olav Bøhmer wrote:
> > On 10/24/06, Carsten Driesner
<carsten.driesner sun.com> wrote:
> > <cut>
> >
> > Function CreateToolbarItem( Command as String,
Label as String ) as
> Variant
> >> Dim aToolbarItem(3) ' as new
com.sun.star.beans.PropertyValue
> >>
> >> // The command you want to be dispatched
if the user presses the
> >> // button. It also references an optional
image.
> >> aToolbarItem(0) =
MakePropertyValue("CommandURL", Command)
> >> ...
> >>
> >> CreateToolbarItem = aToolbarItem()
> >> End Function
> >>
> >> There can be problems with Basic URLs which
reference images. I
> >> currently investigate this problem and will
post information as soon as
> >> I have found the root cause.
> >
> >
> > Thanks alot. Should I make an issue in the issue
tracker?
> Hi Knut,
>
> Could you reproduce the problem with Basic URLs?
I'm not sure what you mean by reproduce the problem with
Basic URL. I don't
understand how to add an image to the toolbar I created
through the API (I
use StarBasic). So the problem is the documentation (maybe).
You can write me an issue. May be you can also attach your
example code
> to the issue.
>
--
Knut Olav Bøhmer
|