最近学delphi,在万一的delphi博客上看到一些代码用到TButtonColor这个控件,但我从网上没有找到,请问谁有这个控件啊,可否把代码贴出来啊
http://www.cnblogs.com/del/archive/2008/06/12/1218019.html

解决方案 »

  1.   

    这个是Delphi2005以上版本才有的控件。
      

  2.   

    TButtonColor
    Hierarchy     Properties     Methods     Events     Unit
    TeCanvasDescription
    This Button control is internally used at Chart Editor dialogs.Is like a normal TButton control, but includes a property to "link" this button to a Color property.The Color is used to display a graphical filled rectangle at the right side of the button.
    Clicking the button will automatically show the Color editor dialog to change the color.Example: ButtonPen1.LinkProperty( Series1, 'SeriesColor' );