On 10/24/06, Carsten Driesner <[EMAIL PROTECTED]> 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?
--
Knut Olav Bøhmer