home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Programming Unleashed
/
Delphi_Programming_Unleashed_SAMS_Publishing_1995.iso
/
misc
/
listtrck
/
main.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-03-20
|
697b
|
40 lines
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.