Print Page | Close Window

CaptionMetrics.BackColor - always black?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=3151
Printed Date: 24 November 2024 at 8:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CaptionMetrics.BackColor - always black?
Posted By: TimStowe
Subject: CaptionMetrics.BackColor - always black?
Date Posted: 03 November 2005 at 1:36pm
Using xpg with VB6, if I try to set the CaptionMetrics.BackColor property of a Property Grid Item to a windows system color (e.g. vbButtonFace), it always displays as black, regardless of the value used.  The basic color constants (e.g. vbRed) seem to work fine. 

Any thoughts?

Regards,

-Tim



Replies:
Posted By: Oleg
Date Posted: 04 November 2005 at 12:31am

Hello,

Here workaround

Item.CaptionMetrics.BackColor = XtremePropertyGrid.ColorManager(STDCOLOR_BTNFACE)



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