Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Add Images in ImageManagerIcons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add Images in ImageManagerIcons

 Post Reply Post Reply
Author
Message
AbhishekGoenka View Drop Down
Newbie
Newbie


Joined: 31 March 2008
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote AbhishekGoenka Quote  Post ReplyReply Direct Link To This Post Topic: Add Images in ImageManagerIcons
    Posted: 31 March 2008 at 4:04am
Hi

I have imageslist in which various images are stroed. Now I want to add full imagelist in ImageManagerIcons

Can someone help me.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2008 at 1:53am

Hi,

You can try loop all items in ImageList and call ImageManager.AddIcon for each icon.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AbhishekGoenka View Drop Down
Newbie
Newbie


Joined: 31 March 2008
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote AbhishekGoenka Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2008 at 12:36am
Hi,

Can you provide me the demo codding of adding the items of ImageList to ImageManager
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2008 at 1:29am
Hi,
What did you try ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AbhishekGoenka View Drop Down
Newbie
Newbie


Joined: 31 March 2008
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote AbhishekGoenka Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2008 at 3:45am
Hi

I tried to add in the ImageManager but It is giving some error
Please give one sample

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2008 at 4:41am
Hi,
 
Here sample code that works for me:
 
Private Sub Form_Load()
CommandBars1.ActiveMenuBar.Controls.Add xtpControlButton, 10, ""

CommandBars1.Options.UseSharedImageList = False
CommandBars1.Icons.AddIcon ImageList1.ListImages(1).ExtractIcon.Handle, 10, xtpImageNormal
End Sub
 
But I very recommend you use our ImageManager instead of standard ImageList. it supports multiple formats + Alpha icons.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
AbhishekGoenka View Drop Down
Newbie
Newbie


Joined: 31 March 2008
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote AbhishekGoenka Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2008 at 4:56am
Ok this is working fine
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.