Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Loading icons in imagemanager...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Loading icons in imagemanager...

 Post Reply Post Reply
Author
Message
Superpippo View Drop Down
Groupie
Groupie


Joined: 02 March 2005
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote Superpippo Quote  Post ReplyReply Direct Link To This Post Topic: Loading icons in imagemanager...
    Posted: 29 June 2005 at 10:36am

I have a little problem with codejock 9.60.

In my application i want to change at runtime the icon on a commandcontrol of a toolbar.

In the execute event procedure i reload the icon on the imagemanager but i don't  get the new icon !

The only way to get the new icon on the commandcontrol is to remove all the icons from the imagemanager. But this way to change only a icon i have to remove all the icons linked to all the commandbars and reload all the icons!

Look at the attachment sample code. Pressing on the commandcontrol on toolbar the icon change. Look at the code now, in the execute procedure place a rem in the following line:

 MDIFormMain.ImageManager.Icons.RemoveAll

the code doesn't work!!

Any ideas ?

Thank you and best regards

Superpippo

 

2005-06-29_103640_SampleIconsCodejock.zip

SuperPippo
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: 04 July 2005 at 2:49am

The problem that they have different size 32*32 and 64*64.

Make them same size.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Superpippo View Drop Down
Groupie
Groupie


Joined: 02 March 2005
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote Superpippo Quote  Post ReplyReply Direct Link To This Post Posted: 04 July 2005 at 3:19am

My mistake.

Thanks Oleg.

 

SuperPippo
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.172 seconds.