home *** CD-ROM | disk | FTP | other *** search
/ Freelog 11 / Freelog011.iso / BestOf / PhoenixMail / Source / comps / ELV_Reg.pas < prev    next >
Pascal/Delphi Source File  |  1999-02-10  |  900b  |  39 lines

  1. {$I DFS.INC}
  2.  
  3. {$IFDEF DFS_CPPB_3_UP}
  4.   // C++Builder 3 requires this if you use run-time packages.
  5.   {$ObjExportAll On}
  6.   // Installing to a package that is not in the same directory as the source
  7.   // will not grab the DCR file in C++B 3.  IDE bug, IMHO.
  8.   {$R ELV_Reg.dcr}
  9. {$ENDIF}
  10.  
  11. unit ELV_Reg;
  12.  
  13. interface
  14.  
  15. procedure Register;
  16.  
  17. implementation
  18.  
  19. uses
  20.   Classes, DsgnIntf, EnhListView,
  21. {$IFDEF DFS_COMPILER_2}
  22.   ExtColEd,
  23. {$ENDIF}
  24.   ExtListView;
  25.  
  26. procedure Register;
  27. begin
  28.   RegisterComponents('DFS', [TEnhListView]);
  29.   RegisterPropertyEditor(TypeInfo(TEnhLVSaveSettings), NIL, '', TClassProperty);
  30.   RegisterComponents('DFS', [TExtListView]);
  31.   RegisterPropertyEditor(TypeInfo(TExtLVSaveSettings), NIL, '', TClassProperty);
  32. {$IFDEF DFS_COMPILER_2}
  33.   RegisterPropertyEditor(TypeInfo(TExtListColumns), NIL, '',
  34.      TExtListColumnsProperty);
  35. {$ENDIF}
  36. end;
  37.  
  38. end.
  39.