![]() |
Transparent Color on Pushbuttons |
Post Reply ![]() |
Author | |
RDONNAY ![]() Groupie ![]() ![]() Joined: 10 February 2009 Location: United States Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() Posted: 10 February 2009 at 11:28pm |
I am probably the first person on the forum to post a message related to the Xbase++ language.
There are an increasing number of Code Jock users in the Xbase++ community and many of them come to me for answers.
So here goes.
I have an Xbase++ program that uses legacy pushbuttons with bitmaps.
The transparent color is 192,192,192.
This has always worked great with Xbase++.
Now when I apply a Skin to my legacy dialogs using the SkinFrameWork control, everything looks great except the buttons containing bitmaps.
The 192,192,192 color shows up in the button rather than showing as transparent.
Any ideas on how to solve this problem?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, Please attach screenshot how it looks with /without Skinframework.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Auge_Ohr ![]() Groupie ![]() Joined: 20 December 2008 Status: Offline Points: 65 |
![]() ![]() ![]() ![]() ![]() |
hi,
just a Picture to that Problem, but i think it is Xbase++ ![]() other Problem is Ownerdraw where Xbase++ GraBackground will allways use "System" Theme (see Button F2) |
|
greetings by OHR
Jimmy |
|
![]() |
|
RDONNAY ![]() Groupie ![]() ![]() Joined: 10 February 2009 Location: United States Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() The first screen is the legacy screen.
The second screen is the same screen with the Vista skin applied.
Notice the light-gray (192,192,192) border around the image on the pushbutton.
Thanks for your reply.
|
|
![]() |
|
spiderrider ![]() Newbie ![]() ![]() Joined: 11 February 2009 Location: United States Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
You go Roger - can't wait for this xCodejock product to be ready!!! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, Think xBase manually convert it icon with system color as transparent color :(
You can try our PushButton from Suitecontrols instead.
Also check last release - 12.1 / 13.0 supports application menu skin.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
RDONNAY ![]() Groupie ![]() ![]() Joined: 10 February 2009 Location: United States Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() |
The appeal of a product like Code Jock SkinFramework is that it gives a legacy application a new look with no required code changes.
Imagine changing thousands of legacy buttons to using Code Jock buttons.
My customers would find that unacceptable.
I could write them a wrapper class that would do this and use the Xbase++ pre-processor to re-route existing code calls to the new class, but I'm not sure at this time that it is worth the effort to solve this kind of problem.
Thank you for your reply.
Is it possible that using a different color than 192,192,192 would be advised?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Sorry, dificult to suggest something without any experience with Xbase++. :(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Auge_Ohr ![]() Groupie ![]() Joined: 20 December 2008 Status: Offline Points: 65 |
![]() ![]() ![]() ![]() ![]() |
hi,
with Xbase++ SL1 v350 you can use XbpIcon instead of XbpBitmap. ![]() ... but you have to seek for :TransparentClr and disable it for Icon while it do not have it. |
|
greetings by OHR
Jimmy |
|
![]() |
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 |