List Info

Thread: How to make a ToolBar with Icons?




How to make a ToolBar with Icons?
user name
2006-10-25 11:10:36
On 10/25/06, Carsten Driesner <carsten.driesnersun.com> wrote:
>
> Knut Olav Bøhmer wrote:
> > On 10/24/06, Carsten Driesner
<carsten.driesnersun.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
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )