Home › Forums › ActiveX components › Other ActiveX components › How to adding icon file (save.ico) to smartui item ?
Hello to you,
I’m using VB6 SP6, SmartUI 2.0
I’m newbie using SmartUI
I have successfuly create menu using SmartUI, now I want to add the icon file at the left side of menu
I have some icon files (add.ico, edit.ico, save.ico)
Set Item = SmartMenu.SmartItems(1).SubItems.Add(, “SAVE”, “&New”, MenuDefault) Item.Shortcut = “Ctrl+S” Item.Image = LoadPicture(“c:\tasnewplus\ico\save.ico”)
But It’s not work,
Please help & guide me. Thanks
Steven, email : email@example.com
Applies to Xceed SmartUI (ActiveX). Imported from legacy forums. Posted by steven (had 2872 views)
Right click on the control on your form, choose “properties”, tab “ListImages”. Then add your icons.
In the “SmartItems” tab assign the key of each icon to the “image” property of each smartitem.
Applies to Xceed SmartUI (ActiveX). Imported from legacy forums. Posted by arnout (had 4075 views)
You must be logged in to reply to this topic.