ImageManager Icons Draw issue |
Post Reply |
Author | |
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
Posted: 18 August 2010 at 5:52am |
Hi guys,
I've got an imagemanager full of ICON images. I want to dyamically set the Form Icon to one from the image manager, so I therefore do: - Me.Icon = ImageManager1.Icons.GetImage(1, 16).CreatePicture(xtpImageNormal) It does display the image, but it appears to have lost it's transparency of the Icon?!?! I've tried setting the Mask Colour to black, but I still get a horrible black border around the icons. I was hoping that it behaved similar to VB's ImageList whereby it extracts the image in the original format it was stored in, but it looks like it's converting it to a Bitmap :( Is there a different line of code i'm missing, or can a feature be added to the control to extract the image in the orignal colour like it does when it's linked to a ReportControl for instance? |
|
Product: Xtreme SuitePro (ActiveX) version 18.5.0
Platform: Windows 7 Enterprise (64-bit) Language: Visual Basic 6.0 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
yes, to support all operation systems we store Alpha icons as bitmap. old OSes didn't support alpha icons.
You can set normal - not alpha icon for your form. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
Is there a way to restore them as transparent icons so they can be used for form icons, etc like the report control utilises them? As there are booleans to check for Alpha ICONs for the control anyway, it seems logical?
Thanks, |
|
Product: Xtreme SuitePro (ActiveX) version 18.5.0
Platform: Windows 7 Enterprise (64-bit) Language: Visual Basic 6.0 |
|
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 |