![]() |
|
Post Reply ![]() |
Author | |
alexshemesh ![]() Groupie ![]() Joined: 22 February 2009 Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() 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 ![]() |
|
![]() |
|
Hemesh ![]() Senior Member ![]() Joined: 10 August 2010 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |