advofficetabsetregde.pas

来自「TMS Component Pack V5.0包含了超过 280 个为 Delp」· PAS 代码 · 共 36 行

PAS
36
字号
unit AdvOfficeTabSetRegDE;

interface
{$I TMSDEFS.INC}

uses
  Classes, AdvOfficeTabSet, GDIPicture, GDIPicDE,
  {$IFDEF DELPHI6_LVL}
  {$IFDEF TMSDOTNET}
  Borland.Vcl.Design.DesignIntf, Borland.Vcl.Design.DesignEditors
  {$ENDIF}
  {$IFNDEF TMSDOTNET}
  DesignIntf, DesignEditors
  {$ENDIF}
  {$ELSE}
  DsgnIntf
  {$ENDIF}
  ;

procedure Register;

implementation

procedure Register;
begin
  // Setting property Editor to all properties of type TGDIPPicture
  RegisterPropertyEditor(TypeInfo(TGDIPPicture), TTabSetButtonSettings, '', TGDIPPictureProperty);
  RegisterPropertyEditor(TypeInfo(TGDIPPicture), TOfficeTabCollectionItem, 'Picture', TGDIPPictureProperty);
  RegisterPropertyEditor(TypeInfo(TGDIPPicture), TOfficeTabCollectionItem, 'DisabledPicture', TGDIPPictureProperty);
end;



end.

⌨️ 快捷键说明

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