Print Page | Close Window

Bug - Invisible Labels

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=7478
Printed Date: 15 May 2024 at 4:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug - Invisible Labels
Posted By: corpcon
Subject: Bug - Invisible Labels
Date Posted: 28 June 2007 at 2:44pm
I've duplicated this problem on the sample provided with SuitePro ...
 
If you apply a style to a container (such as picture box) as is done in one of the provided example, any labels will no longer by visible.



Replies:
Posted By: apuhjee
Date Posted: 28 June 2007 at 3:22pm
It would be great if you could post some pics with these bug reports so we can all see exactly what's going on.
 
Cheers ~ jp


Posted By: corpcon
Date Posted: 28 June 2007 at 4:29pm
It's hard to show a pic of something that is invisible. But here are the steps to reproduce using the SkinFramework VB example ...
 
Open the SkinControls.vbp file located in the path ...
C:\Program Files\Codejock Software\Xtreme Suite Pro ActiveX\Samples\SkinFramework\Vb\SkinControls
 
Open the form in that project.
In the TabStrip on that form is a CheckBox. The CheckBox is contained in a PictureBox (the CheckBox has a large height, so it may take some effort to locate the PictureBox).
 
Draw a label somewhere on the PictureBox so it can be seen (you can reduce the height of the CheckBox if that helps).
 
Run the app. When cycling through the various skins, you will not be able to see the label. You can only see it when there is no skin applied (System).
 
Note at the bottom of the form Load event, the code ...
SkinFramework.EnableThemeDialogTexture PictureTabClient.hWnd, 6
 
This is what causes the label to disappear. Unfortunately, without that code, you then see the background color of the CheckBox.


Posted By: Oleg
Date Posted: 29 June 2007 at 1:40am
Yes, don't call SkinFramework.EnableThemeDialogTexture  for pictureboxes. - use TabControlPage from Suite package.

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



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