⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmdesreg.pas

📁 一套及时通讯的原码
💻 PAS
字号:
{========================================================================}
{=                (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.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -