Print Page | Close Window

Tabs - Child controls not rendering transparent

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=16117
Printed Date: 23 November 2024 at 11:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tabs - Child controls not rendering transparent
Posted By: dkn55555
Subject: Tabs - Child controls not rendering transparent
Date Posted: 01 February 2010 at 11:37am
CodeJock 13.0 - Windows 7

I have two applications, both written in VB6 both using the tab control with the same settings. However one application will not render the child controls of the tabcontrolpage transparent while the other does under Windows 7.

I have the tab controls set to Appearance = 10 - xtpTabAppearancePropertyPage2007 with Color 32 - xtpTabColorOffice2007.

I have checked and rechecked the settings but can''t get it to work. Both will paint correctly under XP but only one will work under Windows 7. Any ideas how to fix appreciated.

In my attached screenshot you''ll see two applications side by side with matching program setting displays open - one rendering correctly, one not.







Replies:
Posted By: shipwreck
Date Posted: 06 February 2010 at 3:19pm
Any color scheme will work as far as the transparency goes.

Check and see to make sure that the group box that isn't transparent is actually "Inside" the tab control page instead of lying above it.

Also make sure that the transparent property of that group box is set to True as well.

-------------
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6


Posted By: dkn55555
Date Posted: 08 February 2010 at 3:13pm
Hi, thanks for the response.

I have tried as you suggested previously. I created new groupboxes on the tabcontrolpage and those also had the same issue. Creating new tab controls and tab control pages on a completely different form resulted with the same result. It seems that this application as a whole won't render the controls transparent under Win 7 but they look great under Win XP AND Vista.

Its also not just groupboxes. I have sub tab controls on other tab pages set to render as XP and they render with the default form colour as well and the tabs themselves don't pick up the skinframework colouring as they do in my other app (both apps use the skinframework with a matching skin file and matching settings). Checkboxes - same result, not rendering transparent.

Hence the mystery.

Any other ideas?

Thanks




Posted By: shipwreck
Date Posted: 09 February 2010 at 12:45pm
Could you upload a sample of this project so I can take a look at it?

-------------
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6


Posted By: dkn55555
Date Posted: 18 March 2010 at 11:35am
Hi sorry for the late response, got pulled in twenty directions at once... I appreciate your suggestions.

Its not feasible to upload the code unfortunately as the app is 100k lines+ and has tons of third party components. But as mentioned this seems to affect the entire application not just this one form. So any form that is using the tab control and tab control page exhibit this behaviour on Windows 7 (for this application).

If you had any more ideas I would appreciate it.

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