| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- {========================================================================}
- {= (c) 1995-98 SwiftSoft Ronald Dittrich =}
- {========================================================================}
- {= All Rights Reserved =}
- {========================================================================}
- {= D 01099 Dresden = Fax.: +49 (0)351-8037944 =}
- {= 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: 31.03.98 - 17:56:55 $ =}
- {========================================================================}
- unit MMCheck;
- {$I COMPILER.INC}
- interface
- uses
- Windows,
- Messages,
- SysUtils,
- Classes,
- Graphics,
- Controls,
- Forms,
- Dialogs,
- StdCtrls,
- Buttons,
- MMObj,
- MMUtils,
- MMBmpLst,
- MMObsrv;
- type
- TMargin = 1..25;
- TMMFontStyle = class(TPersistent)
- public
- property Parent: TControl read FParent write FParent;
- published
- property Color: TColor read FColor write SetColor;
- property Style: TFontStyles read FStyle write SetStyle;
- end;
- {-- TMMBitmapRadioButton ----------------------------------------------------}
- TMMBitmapRadioButton = class(TMMCustomBitmapListControl)
- public
- constructor Create(AOwner: TComponent); override;
- destructor Destroy; override;
- published
- property OnClick;
- property OnDblClick;
- property OnDragDrop;
- property OnDragOver;
- property OnEndDrag;
- property OnMouseDown;
- property OnMouseMove;
- property OnMouseUp;
- property OnStartDrag;
- property Caption;
- property Color;
- property DragCursor;
- property DragMode;
- property Enabled;
- property Font;
- property ParentColor;
- property ParentFont;
- property ParentShowHint;
- property PopupMenu;
- property ShowHint;
- property Visible;
- property Transparent default True;
- property TransparentColor;
- property TransparentMode;
- property BitmapList;
- property BitmapIndex;
- property AllowMouseOver: Boolean read FMouseOver write FMouseOver default False;
- property FontActive: TMMFontStyle read FFontActive write FFontActive;
- property FontInactive: TMMFontStyle read FFontInactive write FFontInactive;
- property Alignment: TLeftRight read FAlignment write SetAlignment default taLeftJustify;
- property Checked: boolean read FChecked write SetChecked default false;
- property Margin: TMargin read FMargin write SetMargin default 7;
- property NumGlyphs: TNumGlyphs read FNumGlyphs write SetNumGlyphs default 4;
- end;
- {-- TMMBitmapCheckBox -------------------------------------------------------}
- TMMBitmapCheckBox = class(TMMCustomBitmapListControl)
- public
- constructor Create(AOwner: TComponent); override;
- destructor Destroy; override;
- published
- property OnClick;
- property OnDragDrop;
- property OnDragOver;
- property OnEndDrag;
- property OnMouseDown;
- property OnMouseMove;
- property OnMouseUp;
- property OnStartDrag;
- property Caption;
- property Color;
- property DragCursor;
- property DragMode;
- property Enabled;
- property Font;
- property Hint;
- property ParentColor;
- property ParentFont;
- property ParentShowHint;
- property PopupMenu;
- property ShowHint;
- property Visible;
- property Transparent default True;
- property TransparentColor;
- property TransparentMode;
- property BitmapList;
- property BitmapIndex;
- property AllowMouseOver: Boolean read FMouseOver write FMouseOver default False;
- property FontActive: TMMFontStyle read FFontActive write FFontActive;
- property FontInactive: TMMFontStyle read FFontInactive write FFontInactive;
- property Alignment: TLeftRight read FAlignment write SetAlignment default taLeftJustify;
- property AllowGrayed: Boolean read FAllowGrayed write SetAllowGrayed default False;
- property Checked: Boolean read FChecked write SetChecked default False;
- property State: TCheckBoxState read FState write SetState default cbUnchecked;
- property Margin: TMargin read FMargin write SetMargin default 7;
- property NumGlyphs: TNumGlyphs read FNumGlyphs write SetNumGlyphs default 4;
- end;
- implementation
|