![]()  | 
 
Loading icons in imagemanager... | 
 
    Post Reply  
   | 
  
| Author | |
   
   Superpippo  
   
   Groupie  
   Joined: 02 March 2005 Status: Offline Points: 67  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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 
  | 
 |
| 
   
     
     SuperPippo
     
   
   | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   Superpippo  
   
   Groupie  
   Joined: 02 March 2005 Status: Offline Points: 67  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 04 July 2005 at 3:19am | 
 
| 
   
    My mistake. Thanks Oleg. 
  | 
 |
| 
   
     
     SuperPippo
     
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |