home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 January / Chip_1999-01_cd.bin / zkuste / delphi / D1 / HSTCBO.ZIP / HCBTEST1.PAS < prev    next >
Pascal/Delphi Source File  |  1996-01-29  |  884b  |  44 lines

  1. unit Hcbtest1;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  7.   Forms, Dialogs, HstCbo, StdCtrls, ExtCtrls;
  8.  
  9. type
  10.   TfrmTestHistoryComboBox = class(TForm)
  11.     btRead: TButton;
  12.     btWrite: TButton;
  13.     Bevel1: TBevel;
  14.     Label1: TLabel;
  15.     Label2: TLabel;
  16.     Label3: TLabel;
  17.     HistoryComboBox1: THistoryComboBox;
  18.     procedure btReadClick(Sender: TObject);
  19.     procedure btWriteClick(Sender: TObject);
  20.   private
  21.     { Private-Deklarationen }
  22.   public
  23.     { Public-Deklarationen }
  24.   end;
  25.  
  26. var
  27.   frmTestHistoryComboBox: TfrmTestHistoryComboBox;
  28.  
  29. implementation
  30.  
  31. {$R *.DFM}
  32.  
  33. procedure TfrmTestHistoryComboBox.btReadClick(Sender: TObject);
  34. begin
  35.   HistoryComboBox1.ReadIniFile;
  36. end;
  37.  
  38. procedure TfrmTestHistoryComboBox.btWriteClick(Sender: TObject);
  39. begin
  40.   HistoryComboBox1.WriteIniFile;
  41. end;
  42.  
  43. end.
  44.