Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - CheckBox as StateButton
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CheckBox as StateButton

 Post Reply Post Reply
Author
Message
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post Topic: CheckBox as StateButton
    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?
Back to Top
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post Posted: 04 January 2007 at 5:44am
VB6 SP6 on Win2k SP4
SkinFramework 10.3.1
Back to Top
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post Posted: 04 January 2007 at 5:48am

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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 January 2007 at 6:08am
Hi,
Both was fixed in 10.4
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.