Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - CheckBox doesn't obey "Transparent"
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CheckBox doesn't obey "Transparent"

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


Joined: 31 May 2007
Location: Brazil
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote upeters Quote  Post ReplyReply Direct Link To This Post Topic: CheckBox doesn't obey "Transparent"
    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
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post 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...


Back to Top
upeters View Drop Down
Groupie
Groupie


Joined: 31 May 2007
Location: Brazil
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote upeters Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
yair-edsoft View Drop Down
Newbie
Newbie
Avatar

Joined: 14 April 2007
Location: Israel
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote yair-edsoft Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
upeters View Drop Down
Groupie
Groupie


Joined: 31 May 2007
Location: Brazil
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote upeters Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post 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
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.188 seconds.