![]()  | 
 
Font Color | 
 
    Post Reply  
   | 
  
| Author | |
   
   mikedb  
   
   Newbie  
   Joined: 08 February 2004 Status: Offline Points: 4  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Font ColorPosted: 08 February 2004 at 4:28pm  | 
 
| 
   
    Is there a way to set the font color via the font property? If not, any suggestions?  | 
 |
![]()  | 
 |
   
   robs  
   
   Groupie  
   Joined: 09 November 2003 Status: Offline Points: 84  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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. 
  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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.
    | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |