home *** CD-ROM | disk | FTP | other *** search
- unit Main;
-
- { Program copyright (c) 1995 by Charles Calvert }
- { Project Name: LISTTRCK }
-
- interface
-
- uses
- WinTypes, WinProcs, Classes,
- Graphics, Forms, Controls,
- Dialogs, StdCtrls, ExtCtrls;
-
- type
- TForm1 = class(TForm)
- ListBox1: TListBox;
- OpenDialog1: TOpenDialog;
- Panel1: TPanel;
- BLoadFile: TButton;
- procedure BLoadFileClick(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- Form1: TForm1;
-
- implementation
-
- {$R *.DFM}
-
- procedure TForm1.BLoadFileClick(Sender: TObject);
- begin
- if OpenDialog1.Execute then
- ListBox1.Items.LoadFromFile(OpenDialog1.FileName);
- end;
-
- end.
-