MMDesReg.pas
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:4k
- {========================================================================}
- {= (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:51:45 $ =}
- {========================================================================}
- unit MMDesReg;
- {$I COMPILER.INC}
- Interface
- Procedure Register;
- Implementation
- {$R MMDESIGN.D32}
- uses
- {$IFDEF DELPHI6}
- DesignIntf,
- DesignEditors,
- {$ELSE}
- DsgnIntf,
- {$ENDIF}
- Controls,
- Classes,
- SysUtils,
- Graphics,
- MMBPMPrp,
- MMBmpLst,
- MMBmpDlg,
- MMTrnPrp,
- MMIdxPrp,
- MMFill,
- MMForm,
- MMCheck,
- MMCtrl,
- MMBmpBtn,
- MMBmpLED;
- {========================================================================}
- procedure Register;
- begin
- RegisterComponents('MMDesign', [TMMBitmapList,
- TMMBitmapListImage,
- TMMFormStyler,
- TMMFormFill,
- TMMPanelFill,
- TMMBitmapLEDDigit,
- TMMBitmapLabel,
- TMMBitmapCheckBox,
- TMMBitmapRadioButton,
- TMMBitmapSlider,
- TMMBitmapButton]);
- RegisterComponentEditor(TMMBitmapList, TMMBitmapListComponentEditor);
- RegisterComponentEditor(TMMCustomBitmapListControl, TMMBitmapListIndexComponentEditor);
- RegisterComponentEditor(TMMFormFill, TMMBitmapListIndexComponentEditor);
- RegisterComponentEditor(TMMPanelFill, TMMBitmapListIndexComponentEditor);
- RegisterPropertyEditor(TypeInfo(integer), TMMCustomBitmapListControl, 'BitmapIndex',TMMBitmapIndexProperty);
- RegisterPropertyEditor(TypeInfo(integer), TMMCustomBitmapListControl, 'BitmapBackIndex',TMMBitmapBackIndexProperty);
- RegisterPropertyEditor(TypeInfo(integer), TMMFormFill, 'BitmapIndex',TMMBitmapIndexProperty);
- RegisterPropertyEditor(TypeInfo(integer), TMMPanelFill, 'BitmapIndex',TMMBitmapIndexProperty);
- RegisterPropertyEditor(TypeInfo(integer), TMMPanelFill, 'BitmapBackIndex',TMMBitmapBackIndexProperty);
- RegisterPropertyEditor(TypeInfo(integer), TMMBitmapSlider, 'BitmapThumbIndex',TMMBitmapThumbIndexProperty);
- RegisterPropertyEditor(TypeInfo(TColor), TMMCustomBitmapListControl, 'TransparentColor',TMMTransparentColorProperty);
- RegisterPropertyEditor(TypeInfo(TComponent),TMMBitmapLEDDigit,'Connect',TMMBitmapLEDDigitConnectEditor);
- end;
- end.