Print Page | Close Window

Popup Control Icons

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6062
Printed Date: 17 November 2024 at 3:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Popup Control Icons
Posted By: Reedie
Subject: Popup Control Icons
Date Posted: 10 January 2007 at 8:12am

In the provided popup control example the LoadImage API is used to add for example the close button on the MSN themed popup. Is it possible to load images from an ImageManager control instead? I am currently using version 9.70.

 
Thanks,
 
Reedie



Replies:
Posted By: Oleg
Date Posted: 10 January 2007 at 10:03am
It was added after 9.80 release.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Reedie
Date Posted: 12 January 2007 at 8:38am
Hi Oleg,
 
Thanks for that I have upgraded now but haven't been able to set the icon with the new version. My code to add the image is
 
Set Item = PopupControl.AddItem(20, 20, 20, 20, vbNullString)
Item.Id = ID_CLOSE_POPUP
Item.SetIcon ImageManager.Icons.GetImage(ID_CLOSE_POPUP, 13),                        xtpPopupItemIconNormal
 
and I have made sure the icon I want in the ImageManager has this ID. Can you tell me if this is wrong?
 
Thanks,
 
Reedie



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net