{========================================================================} {= (c) 1995-98 SwiftSoft Ronald Dittrich =} {========================================================================} {= All Rights Reserved =} {========================================================================} {= D 01099 Dresden = Tel.: +0351-8012255 =} {= Loewenstr.7a = info@swiftsoft.de =} {========================================================================} {= Actual versions on http://www.swiftsoft.de/mmtools.html =} {========================================================================} {= This code is for reference purposes only and may not be copied or =} {= distributed in any format electronic or otherwise except one copy =} {= for backup purposes. =} {= =} {= No Delphi Component Kit or Component individually or in a collection=} {= subclassed or otherwise from the code in this unit, or associated =} {= .pas, .dfm, .dcu, .asm or .obj files may be sold or distributed =} {= without express permission from SwiftSoft. =} {= =} {= For more licence informations please refer to the associated =} {= HelpFile. =} {========================================================================} {= $Date: 20.01.1998 - 18:00:00 $ =} {========================================================================} Unit MMLEDLbl; {$I COMPILER.INC} interface uses {$IFDEF WIN32} Windows, {$ELSE} WinTypes, WinProcs, {$ENDIF} SysUtils, Messages, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, Menus, MMObj, MMUtils, MMString; type TMMLEDFontSize =(fs11x13,fs16x20); {-- TMMLEDLabel ------------------------------------------------------} TMMLEDLABEL = class(TMMGraphicControl) public constructor Create (AOwner: TComponent); override; destructor Destroy; override; procedure Start; procedure Stop; published { Events } property OnClick; property OnDblClick; property OnMouseDown; property OnMouseMove; property OnMouseUp; property OnBegin: TNotifyEvent read FOnBegin write FOnBegin; property OnStep: TNotifyEvent read FOnStep write FOnStep; property OnEnd: TNotifyEvent read FOnEnd write FOnEnd; property Align; property Caption; property Color default clBlack; property ParentShowHint; property ParentColor; property PopupMenu; property ShowHint; property Visible; property Width default 11; property Height default 13; property AutoSize: Boolean read FAutoSize write SetAutoSize default True; property Alignment: TAlignment read FAlignment write SetAlignment default taLeftJustify; property Enabled; property FontSize: TMMLEDFontSize read FSize write SetSize default fs16X20; property DrawInactive: Boolean read FDrawInactive write SetDrawInactive default True; property InactiveColor: TColor read FInactiveColor write SetInactiveColor default clGreen; property LEDColor: TColor read FLEDColor write SetLEDColor default clLime; property NumChars: integer read FNumChars write SetNumChars default 12; property LEDSpace: integer read FLEDSpace write SetLEDSpace default 1; property ScrollSpeed: integer read FSpeed write SetSpeed default 100; property StartStep: integer read FStartStep write SetStartStep default 0; property CurrentStep: integer read FCurStep write SetCurStep default 0; property AutoScroll: Boolean read FAutoScroll write SetAutoScroll default False; property Bevel; end; implementation