![]() |
Popup Control Icons |
Post Reply
|
| Author | |
Reedie
Newbie
Joined: 20 December 2006 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Popup Control IconsPosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 January 2007 at 10:03am |
|
It was added after 9.80 release.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Reedie
Newbie
Joined: 20 December 2006 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
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 |