CheckBox: transparent property |
Post Reply |
Author | |
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
Posted: 04 October 2010 at 10:59am |
When I set CheckBox to
Transparent = True
the control doesn't become transparent, but assume the vbButtonFace system color (&H8000000F&).
In this way, when I want set a different color in Form.Backcolor (i.e. vbBlue) the Checkbox.Backcolor still vbButtonFace (&H8000000F&).
Of course isn't good.
Example, if I want use a set of colors style Office 2007, I have forced to change the backcolor for each checkbox...
When change the style to Office 2000 (or other) I mus set again the backcolor, and so on...
The correct behavoir for Transparent property should be:
inherit the backcolor from it container (as Label control do).
Thank.
|
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Just want to point out that making a checkbox transparent is a pain in the a$$. Really, it's that hard!
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
Check post https://forum.codejock.com/forum_posts.asp?TID=11379 to get "transparent" CJ controls.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
Thank, but i DON'T want add a TabPage + load a picture.
Really, I don't understand why if checkbox become transparent in TabPage while in Form dosen't.
|
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
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 |