Welcome to the Xceed Community | Help
Community Search  
More Search Options

How to adding icon file (save.ico) to smartui item ?

Sort Posts: Previous Next
  •  04-30-2009, 2:03 AM Post no. 20639

    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)

    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

     

     

     

     

     

     

     

  •  05-06-2009, 8:34 AM Post no. 20752 in reply to 20639

    Re: How to adding icon file (save.ico) to smartui item ?

    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.

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.