| Class TgradientPanel (unit Gradpanl) |
TCustompanel
| Constructors |
constructor Create(AOwner: TComponent);| Functions |
procedure calcolor;
procedure GradientFill(canvas:Tcanvas;width,height:integer);
procedure Paint;
procedure AutoInitialize;
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;