Class: TmlSphereButton

TCustomControl ----+
              |
    TmlCustomBitmapButton ----+
                              |
                      TmlRealTimeButton ----+
                                            |
                                     TmlSphereButton

Description:
Real sphere button

Unit:
mediabtn (mediabtn.pas)

Constructors:

constructor Create(AOwner: TComponent); override;

Propertys:

property ClickSound;
property ActiveSound;
property ActiveColor: TColor read FActiveColor write SetActiveColor;
Active sphere color
property Color: TColor read FColor write SetColor;
Normal sphere color
property Glyph: TBitmap read FGlyph write SetGlyph;
Glyph bitmap

Methods:

function CreateOneBitmap(AState: TBtnState; AActive: boolean): TBitmap;
destructor Destroy; override;

constructor Create(AOwner: TComponent); override;


property ClickSound;


property ActiveSound;


property ActiveColor: TColor read FActiveColor write SetActiveColor;

Active sphere color


property Color: TColor read FColor write SetColor;

Normal sphere color


property Glyph: TBitmap read FGlyph write SetGlyph;

Glyph bitmap


function CreateOneBitmap(AState: TBtnState; AActive: boolean): TBitmap;


destructor Destroy; override;