Print Page | Close Window

Font Color

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=430
Printed Date: 23 November 2024 at 4:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Font Color
Posted By: mikedb
Subject: Font Color
Date Posted: 08 February 2004 at 4:28pm

Is there a way to set the font color via the font property? If not, any suggestions?




Replies:
Posted By: robs
Date Posted: 12 February 2004 at 6:00am

I believe it's a bug. I would expect that the next release either has the color button ommited from the font dialog (preffered) or the property is accessible.

I've been coding with the assumption that the color button will be removed, since item.value is of type Font and stdFont doesn't have a color property.

 



Posted By: SuperMario
Date Posted: 12 March 2004 at 10:15pm
I thought you would all like to know that this feature will be added to the next release.  The Color property will need to be initialized when the property grid item of type font is added to the grid.  Even if the color will default to black.  If the color property is not initialized the color combo box in the font dialog will be disabled.  The color will is accessed through a new object called PropertyGridItemFont.



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