Print Page | Close Window

CheckBox doesn't obey "Transparent"

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8302
Printed Date: 16 November 2024 at 3:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CheckBox doesn't obey "Transparent"
Posted By: upeters
Subject: CheckBox doesn't obey "Transparent"
Date Posted: 04 October 2007 at 1:36pm
Hello,

it seems that there might be some problem with the current CheckBox. I have a form with a gradient image as background. Over this image I have some controls which allow the gradient to be displayed correctly as backgound when I set the property to Transparent. Nothing happens when I do this to a CheckBox. With Transparent set to False, I get a solid background of the same color as BackColor, if I set Transparent to True, the background becomes a solid gray.

What is happening? Am I missing something here or is this a bug? (Using version 11.2.)

Thanks,
Ulrich



Replies:
Posted By: ijwelch
Date Posted: 04 October 2007 at 10:31pm
I get the impression that the Transparent property was added by Codejock specifically so that the control is drawn correctly when placed on a Codejock tabcontrol page, and not necessarily providing true transparency.

I may be wrong but that certainly seems to be how it behaves...




Posted By: upeters
Date Posted: 04 October 2007 at 10:49pm
Maybe it is so, but take the Label for comparison. The same Transparent property works exactly as expected, so why behaves the Checkbox different?

I know that the MS control doesn't allow transparent background either, but it sure would be nice to have this...


Posted By: Bernie
Date Posted: 05 October 2007 at 3:30am
I have an impression that he Online Help says ... Transparent property is useful only when using XP Theme... However, I am not sure for this. In a word, Transparent property of CheckBox (ActiveX Version) doesn't work in my program as well.


Posted By: yair-edsoft
Date Posted: 07 October 2007 at 6:29pm
hi,
set the UseVisualStyle=True
then
transparent=True
 
and you will see that it will be transparent
 
it worked for me..


-------------
yair


Posted By: upeters
Date Posted: 08 October 2007 at 9:45am
Hello Yair,

thanks for the help, but I used the same settings and the checkbox remains with a solid background.



Could I please get an official statement from Codejock if this is something that won't/can't be changed? Thank you!


Posted By: Oleg
Date Posted: 09 October 2007 at 1:30am
Hello,
 
Transparent property works only for TabControl.
You can set BackColor property to make it looks like transparent.


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


Posted By: ijwelch
Date Posted: 09 October 2007 at 3:16am
The transparent property works fine for pushbutton and label.

Can this be done for checkbox, radiobutton in future release?

Also, slider control needs this property (along with backcolor and appearance).

Thanks



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