CheckBox as StateButton |
Post Reply |
Author | |
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
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?
|
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
VB6 SP6 on Win2k SP4
SkinFramework 10.3.1 |
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
Same problem with OptionButton https://forum.codejock.com/forum_posts.asp?TID=5694 ? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Both was fixed in 10.4
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
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?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
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 |