unit Unit3;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtDlgs;
type
TForm3 =
class(TForm)
Button1: TButton;
Button2: TButton;
OpenPictureDialog1: TOpenPictureDialog;
Label1: TLabel;
Label2: TLabel;
Edit1: TEdit;
Edit2: TEdit;
Button3: TButton;
Button4: TButton;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
procedure Button4Click(Sender: TObject);
procedure Button3Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form3: TForm3;
implementation
{$R *.dfm}
procedure TForm3.Button1Click(Sender: TObject);
begin
Form3.Visible:=false;
end;
procedure TForm3.Button2Click(Sender: TObject);
begin
Form3.Visible:=false;
end;
procedure TForm3.Button3Click(Sender: TObject);
begin
end;
procedure TForm3.Button4Click(Sender: TObject);
begin
if OpenPictureDialog1.Execute
then
Form3.Edit1.Text := OpenPictureDialog1.FileName;
end;
end.