home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Software / Freeware / programare / bass / Delphi / 3dTest / DTSelect.pas < prev   
Encoding:
Pascal/Delphi Source File  |  2003-10-20  |  666 b   |  41 lines

  1. unit DTSelect;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls;
  8.  
  9. type
  10.   TForm2 = class(TForm)
  11.     ListBox1: TListBox;
  12.     Button1: TButton;
  13.     procedure FormCreate(Sender: TObject);
  14.     procedure FormDestroy(Sender: TObject);
  15.   private
  16.     { Private-Deklarationen }
  17.   public
  18.     { Public-Deklarationen }
  19.     lstDevices: TStringList;
  20.   end;
  21.  
  22. var
  23.   Form2: TForm2;
  24.  
  25. implementation
  26.  
  27. {$R *.DFM}
  28.  
  29. procedure TForm2.FormCreate(Sender: TObject);
  30. begin
  31.   lstDevices := TStringList.Create;
  32. end;
  33.  
  34. procedure TForm2.FormDestroy(Sender: TObject);
  35. begin
  36.   lstDevices.Free;
  37. end;
  38.  
  39. end.
  40.  
  41.