Print Page | Close Window

32bit Alpha images in PushButton

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13186
Printed Date: 17 May 2024 at 3:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: 32bit Alpha images in PushButton
Posted By: TShriver
Subject: 32bit Alpha images in PushButton
Date Posted: 15 January 2009 at 1:22pm

Is there any way to use a 32bit alpha image from an ico or png in the Picture property of the PushButton control?  Perhaps even with the ImageManagerIcons?

Thanks,
 
Tim



Replies:
Posted By: SuperMario
Date Posted: 15 January 2009 at 2:10pm
ImageManager supports png, have you tried it?


Posted By: TShriver
Date Posted: 15 January 2009 at 2:42pm
Well after some trial and error I figured it out.
 
PushButton.Icon = ImageManager.Icons.GetImage(101, 24)
 
I was trying to set the PushButton.Picture Property.
 
Thank you.
 
Tim



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