PopUp Menu Icons VBA

PopUp Menu Icons VBA

Anonymous
Not applicable
569 Views
0 Replies
Message 1 of 1

PopUp Menu Icons VBA

Anonymous
Not applicable
I created a PopUp Menu but I can't associate an icon to this button.
Is there any properties doing that or any other solution to use an icon for the menu item?

Here's my code.

{code}
Sub CassiopeaStartup()

ToolBarName = "CassiopeaCatalogation" 'Set Toolbar Name

Set L_Menus = ThisDrawing.Application.MenuGroups.Item(0).Menus

Set L_Menu = L_Menus.Add(ToolBarName)
L_Menu.InsertInMenuBar (10)

'create menu button

Set MenuItem = L_Menu.AddMenuItem(0, "Catalogation", "-vbarun" & vbCr & Chr(34) & _
"./Catalogation/CassiopeaCatalogation.dvb!Catalog" & Chr(34) & vbCr)

End Sub
{code}

Thanks a lot!
0 Likes
570 Views
0 Replies
Replies (0)