Class TgradientPanel (unit Gradpanl)

Inherits from

TCustompanel

Constructors


constructor Create(AOwner: TComponent);

of AutoInitialize


Functions

procedure calcolor;


procedure GradientFill(canvas:Tcanvas;width,height:integer);


procedure Paint;

Code to perform other tasks when the component is created

procedure AutoInitialize;

Method to set variable and property values and create objects

Procedure setBcolor(value:Tcolor);


Procedure setEcolor(value:Tcolor);


Properties

property Align :


property BeginColor : Tcolor


property Caption :


property EndColor : Tcolor


property Font :


Events

Variables

FBeginColor : Tcolor;


FEndColor : Tcolor;


FNumberOfColors : integer;


colors : array[0..255] of tcolor;



Constructors


constructor Create(AOwner: TComponent);

of AutoInitialize


Functions


procedure calcolor;


procedure GradientFill(canvas:Tcanvas;width,height:integer);


procedure Paint;

Code to perform other tasks when the component is created


procedure AutoInitialize;

Method to set variable and property values and create objects


Procedure setBcolor(value:Tcolor);


Procedure setEcolor(value:Tcolor);


Properties


property Align :


property BeginColor : Tcolor


property Caption :


property EndColor : Tcolor


property Font :


Events


Variables


FBeginColor : Tcolor;


FEndColor : Tcolor;


FNumberOfColors : integer;


colors : array[0..255] of tcolor;