Print Page | Close Window

CheckBox as StateButton

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=5980
Printed Date: 30 January 2025 at 11:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CheckBox as StateButton
Posted By: Jean
Subject: CheckBox as StateButton
Date Posted: 04 January 2007 at 4:50am
A CheckBox doesent show as "StateButton" with SkinFramwork.
 
-put a CheckBox on a form
-set its style property to 1
-run the application --> the CheckBox acts like a "StateButton"
 
Now the problem:
-put a SkinFramwork control on the same form and add the following code:
Private Sub Form_Load()
  SkinFramework1.ApplyWindow Me.hWnd
  SkinFramework1.ApplyOptions = SkinFramework1.ApplyOptions Or xtpSkinApplyMetrics
  SkinFramework1.LoadSkin App.Path & "\WinXP.Luna.cjstyles", "Normalblue.ini"
End Sub
-run the application --> the CheckBox looks like a normal CheckBox! (And you can't mark the CheckBox)
 
Is this behavior well-known and intended?



Replies:
Posted By: Jean
Date Posted: 04 January 2007 at 5:44am
VB6 SP6 on Win2k SP4
SkinFramework 10.3.1


Posted By: Jean
Date Posted: 04 January 2007 at 5:48am

Same problem with OptionButton https://forum.codejock.com/forum_posts.asp?TID=5694 - https://forum.codejock.com/forum_posts.asp?TID=5694  ?



Posted By: Oleg
Date Posted: 04 January 2007 at 6:08am
Hi,
Both was fixed in 10.4


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


Posted By: Jean
Date Posted: 05 January 2007 at 2:38am
That's how they look in 10.4 with WinXP.Luna.cjstyles:
 
They do not have the same style like the CommandButton. Is this a problem in the cjstyles-File?


Posted By: Oleg
Date Posted: 05 January 2007 at 9:15am

Hi,

Yes, this is how it should look. if you add manifest and run in Windows XP  you will see that it look same. Standard Themed button doesn't have "Checked" image "only "pressed"


-------------
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