Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM
  New Posts New Posts RSS Feed - Transparent Push Button
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedTransparent Push Button

 Post Reply Post Reply
Author
Message
alexshemesh View Drop Down
Groupie
Groupie


Joined: 22 February 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote alexshemesh Quote  Post ReplyReply Direct Link To This Post Topic: Transparent Push Button
    Posted: 11 July 2010 at 10:13am
Hi
Im writing C# application with CodeJock 13.1 Unicode ActiveX suite.
Im trying to make PushButton with transparent icon on it.
i have png with transparent backgound, but when i select it as Image property for the button its displayed with border that has "Control" system color instead of being transparent.
Its not a big problem, if i change control to be PushButton from .net it works perfect , icon looks transparent and everything ok.
Its just strange that skin oriented library like codejock cant handle such basic task.
Im sure im doing something wrong.
Can you tell me what it is im doing wrong?
See attached image, left one is codejock control and right one is regular .net pushbutton
Thanks
Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2010 at 6:45am
Rather than using a PNG, can you use a ICO file instead? I tend to find those work without problems with transparency.

ICOFX (look in google) is a good Icon Editing tool that will allow you contruct different sized icons from one size easily.
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0
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.170 seconds.