CheckBox doesn't obey "Transparent" |
Post Reply |
Author | |
upeters
Groupie Joined: 31 May 2007 Location: Brazil Status: Offline Points: 15 |
Post Options
Thanks(0)
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 |
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
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... |
|
upeters
Groupie Joined: 31 May 2007 Location: Brazil Status: Offline Points: 15 |
Post Options
Thanks(0)
|
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... |
|
Bernie
Senior Member Joined: 05 July 2007 Location: Taiwan Status: Offline Points: 109 |
Post Options
Thanks(0)
|
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.
|
|
yair-edsoft
Newbie Joined: 14 April 2007 Location: Israel Status: Offline Points: 14 |
Post Options
Thanks(0)
|
hi,
set the UseVisualStyle=True
then
transparent=True
and you will see that it will be transparent
it worked for me..
|
|
yair
|
|
upeters
Groupie Joined: 31 May 2007 Location: Brazil Status: Offline Points: 15 |
Post Options
Thanks(0)
|
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! |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Transparent property works only for TabControl.
You can set BackColor property to make it looks like transparent.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
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 |
|
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 |