Print Page | Close Window

Disabled Icon on 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=13196
Printed Date: 05 October 2024 at 6:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disabled Icon on PushButton
Posted By: Mikee
Subject: Disabled Icon on PushButton
Date Posted: 16 January 2009 at 9:22pm
Hallo,

I'm trying to use a disabled icon from the ImageManager on a pushbutton, but I can't find a way to do this.

I've loaded all my png-images with transparency in the ImageManager. When I now set the icon-property of the pushbutton to an image-id, I'll get the correct image and the image will be grayed when I disable the pushbutton.

But what I want is the grayed, disabled image, when the pushbutton is still enabled. But when I set the icon-property, I can not specify the disabled image. And when I set the picture-property I get a black background instead of a transparent background of the image.

I hope you can tell me how to solve this problem. One idea I had was to use markup for the pushbutton. But I couldn't find a property for markup-images to use the disabled state of a picture. I can only use the image-id with the source-property.

Thanx a lot.

Michael



Replies:
Posted By: Oleg
Date Posted: 19 January 2009 at 3:04am
Add aditional disabled icon to ImageManager and switch it.

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



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