home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / Chip_2002-05_cd1.bin / zkuste / delphi / kompon / d5 / CAKDIR.ZIP / CAKFlatEdit.pas < prev    next >
Pascal/Delphi Source File  |  2001-05-13  |  703b  |  41 lines

  1. unit CAKFlatEdit;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls;
  8.  
  9. type
  10.   TCAKFlatEdit = class(TEdit)
  11.   private
  12.     { Private declarations }
  13.   protected
  14.     { Protected declarations }
  15.   public
  16.     constructor Create( AOwner: TComponent ); override;
  17.  
  18.     { Public declarations }
  19.   published
  20.  
  21.     { Published declarations }
  22.   end;
  23.  
  24. procedure Register;
  25.  
  26. implementation
  27.  
  28. constructor TCAKFlatEdit.Create( AOwner: TComponent );
  29. begin
  30.         inherited Create( AOwner );
  31.  
  32.         BorderStyle := bsnone;
  33.         Height := 16;
  34. end;
  35. procedure Register;
  36. begin
  37.   RegisterComponents('QZip', [TCAKFlatEdit]);
  38. end;
  39.  
  40. end.
  41.