![]()  | 
 
ImageManagerIcon.handle | 
 
    Post Reply  
   | 
  
| Author | |
   
   wakerunner  
   
   Groupie  
   Joined: 29 September 2007 Status: Offline Points: 85  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: ImageManagerIcon.handlePosted: 30 November 2007 at 12:57am  | 
 
| 
   
    
   The code below worked in 11.2.0, but the ImagemanagerIcon.handle has been eliminated in 11.2.1.
 
   
  How can you get an image from a imagemanager control for use in a popupcontrol? Could you supply sample code, the only sample in help file shows how to load an image from disk. I want to get images from the imagemanager. 
Dim IMG As ImageManagerIcon 
Dim PopItem As PopupControlItem 
   Set PopItem = PopupControl.AddItem(151, 6, 164, 19, "") Set IMG = ImageManager.Icons.GetImage(103, 13) PopItem.SetIcon IMG.Handle, xtpPopupItemIconNormal  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 30 November 2007 at 1:19am | 
 
| 
   
    
   Hello,
 
   
  Better assign whole imagemanager to popupcontrol and set iconindex for items: 
Set PopupControl.Icons = ImageManager.Icons 
Set PopItem = PopupControl.AddItem(151, 6, 164, 19, "") 
   PopItem.IconIndex = 103  | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
    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  |