home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi 4 Bible
/
Delphi_4_Bible_Tom_Swan_IDG_Books_1998.iso
/
source
/
DIREX
/
MAIN.PAS
< prev
Wrap
Pascal/Delphi Source File
|
1998-04-10
|
615b
|
35 lines
unit Main;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, Buttons, DirDlg;
type
TMainForm = class(TForm)
TestBitBtn: TBitBtn;
CloseBitBtn: TBitBtn;
procedure TestBitBtnClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
MainForm: TMainForm;
implementation
{$R *.DFM}
procedure TMainForm.TestBitBtnClick(Sender: TObject);
begin
with DirDlgForm do
if ShowModal = mrOk then
ShowMessage('Selected file = ' + FileNameEdit.Text);
end;
end.