Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
How to change the button colors 
Use the following properties to change the button surface colors: 
  • BackColor property to change the color of the button surface.  
  • BackColorMouseOver property to change the color of the button surface when the mouse is over the button area.  
  • BackColorPressed property to change the color of the button surface when this is pressed.  
  • BackColorInterior property to change the color of the internal part of the button surface when a special effect is applied.  
  • BackColorFocus property to change the color of the internal part of the button surface when this has the input focus.  
  • BackColorDisabled property to change the color of the button surface when this is disabled.  
  • BackColorContainer property to change the color of the area that surrounds the button: this property must be the same as the color of the form or dialog that contains the button.  
  • HighlightColor property to change the color of the highlighted border of the button (if any).  
  • ShadowColor property to change the color of the shadowed border of the button (if any).  
  • Using the abmSetSurfaceColorDesc and abmGetSurfaceColorDesc functions you can have a better control over the 3D gradient rendering through the use of the SURFACE_COLOR_DESC data structure. 
  • If you need to change all of the buttons color settings inside a container at once, you can use the abmContainerColorSetting
  • Notes 
  • This section doesn't cover the coloring of texts visible over the button because text-related procedures are described inside the How to put text over the button section. 
    This section doesn't cover the coloring of the following surfaces: 
  • Vista's Aero style 
  • Office 2003 style 
  • Office 2007 style 
  •  
     
     
     
     
     
     
    Copyright © 2002-2009 MultiMedia Soft 
    Return to index