home *** CD-ROM | disk | FTP | other *** search
- unit Fchngdlg;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, StdCtrls, Buttons, Lmddir;
-
- type
- TChangeForm = class(TForm)
- CurrentDir: TLabel;
- Label2: TLabel;
- Label3: TLabel;
- FromFileName: TEdit;
- ToFileName: TEdit;
- Button2: TButton;
- Button1: TButton;
- BrowseBtn: TButton;
- LMDDirDlg1: TLMDDirDlg;
- procedure BrowseBtnClick(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- ChangeForm: TChangeForm;
-
- implementation
-
- {$R *.DFM}
-
- procedure TChangeForm.BrowseBtnClick(Sender: TObject);
- begin
- if LMDDirDlg1.Execute then
- ToFilename.Text := LMDDirDlg1.Path; {Use TLMDDir to set dest path}
- end;
-
- end.
-