unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TCategoryPanel =
class(extctrls.TCategoryPanel)
private
{ Private declarations }
protected
{ Protected declarations }
public
procedure DrawHeaderChevron(ACanvas: TCanvas);
override;
{ Public declarations }
published
{ Published declarations }
end;
TForm1 =
class(TForm)
CategoryPanelGroup1: TCategoryPanelGroup;
CategoryPanel1: TCategoryPanel;
CategoryPanel2: TCategoryPanel;
Button1: TButton;
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
{ TCategoryPanelGroup }
procedure TCategoryPanel.DrawHeaderChevron(ACanvas: TCanvas);
begin
//>> beispiel
Acanvas.FillRect(Rect(0,0,width,Height));
end;
end.