Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Font Color
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Font Color

 Post Reply Post Reply
Author
Message
mikedb View Drop Down
Newbie
Newbie


Joined: 08 February 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikedb Quote  Post ReplyReply Direct Link To This Post Topic: Font Color
    Posted: 08 February 2004 at 4:28pm

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

Back to Top
robs View Drop Down
Groupie
Groupie


Joined: 09 November 2003
Status: Offline
Points: 84
Post Options Post Options   Thanks (0) Thanks(0)   Quote robs Quote  Post ReplyReply Direct Link To This Post 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.

 

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
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.152 seconds.