Unit JGColorButton

Classes

TColorButton -

Functions

GetHighlightColor -
GetShadowColor -
GetSpeedKey -
Largest -
Register -
Smallest - Global procedures and functions /////////////////////////////////////////////////////////////////////////////

Types

TAlignment
TButtonBevel
TButtonState
TButtonStyle
TButtonStyles

Constants

Variables


Functions


function GetHighlightColor(BaseColor: TColor): TColor;


function GetShadowColor(BaseColor: TColor): TColor;


function GetSpeedKey(var Caption: String): Integer;


function Largest(X, Y: Integer): Integer;


procedure Register;


function Smallest(X, Y: Integer): Integer;

Global procedures and functions /////////////////////////////////////////////////////////////////////////////

Types


TAlignment =
  	(alTopLeft, alTopCenter, alTopRight,
    alMiddleLeft, alMiddleCenter, alMiddleRight,
    alBottomLeft, alBottomCenter, alBottomRight);
Renamed from ColorButton.pas 6/7/1998 Paul Rice to avoid conflict with Vis' work.
TButtonBevel = (bbLowered, bbNone, bbRaised);

TButtonState = (bsUp, bsDown, bsDisabled);

TButtonStyle = set of TButtonStyles

TButtonStyles = (bsAutoSize, bsCenter, bsStretch, bsShowFocus, bsShowKey);

Constants


Variables