Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Skinframework.Getcolor() with 12.1.1
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skinframework.Getcolor() with 12.1.1

 Post Reply Post Reply
Author
Message
ctrl View Drop Down
Groupie
Groupie


Joined: 21 July 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote ctrl Quote  Post ReplyReply Direct Link To This Post Topic: Skinframework.Getcolor() with 12.1.1
    Posted: 18 December 2008 at 1:21pm
Since I moved to the 12.1.1 version (I was using the 12.0.2 before) I get a problem with the GetColor function of SkinFrameWork when there is no skin selected.

I created a new delphi project and added the two following lines of code attached to combo boxes that change the skin.

   SkinFrameWork.LoadSkin('', '');
   StatusBar.Color := SkinFrameWork.GetColor(STDCOLOR_MENU);

I receive an Access violation when I try to call GetColor () while I have no skin selected.

This problem seem new since I use the 12.1.1 version. Can someone reproduce this with the attached project?

Attached file :
uploads/20081218_132027_SkinFrameWork.zip
Product :SkinFramework 12.0.2, 12.1.1
Platform : WinXP Pro SP2 32 Bit
Language : Delphi 2007
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: 18 December 2008 at 1:32pm
Hi,
Thanks, we agree it. Use standard GetSysColor API when skin not selected. :(
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.188 seconds.