Home Forums ActiveX components Other ActiveX components How to adding icon file (save.ico) to smartui item ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #43315 |

    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)

    code :

        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

     

    Regards,

    Steven, email : stvhui@yahoo.com

     

     

     

     

     

     

     

    Applies to Xceed SmartUI (ActiveX). Imported from legacy forums. Posted by steven (had 2872 views)

    User (Old forums)
    Member
    Post count: 23064

    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)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.