Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Disabled Icon on PushButton
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disabled Icon on PushButton

 Post Reply Post Reply
Author
Message
Mikee View Drop Down
Newbie
Newbie


Joined: 21 November 2008
Location: Germany
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikee Quote  Post ReplyReply Direct Link To This Post Topic: Disabled Icon on PushButton
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2009 at 3:04am
Add aditional disabled icon to ImageManager and switch it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.