Print Page | Close Window

Skinframework.Getcolor() with 12.1.1

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=12968
Printed Date: 16 November 2024 at 9:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skinframework.Getcolor() with 12.1.1
Posted By: ctrl
Subject: Skinframework.Getcolor() with 12.1.1
Date 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 - uploads/20081218_132027_SkinFrameWork.zip

-------------
Product :SkinFramework 12.0.2, 12.1.1
Platform : WinXP Pro SP2 32 Bit
Language : Delphi 2007



Replies:
Posted By: Oleg
Date 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



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